I am trying to upgrade the targetSdkVersion of the APP I am in charge of from 30 to 31.
I keep getting this error when I try to install it on my test cell phone:
I looked through the logcat by referring to other articles with similar symptoms, but there is no 271rd line in my manifests.
Below is my logcat error part.
I added android, exported to all items in manifest, upgraded Gradle Version to 6.1.1 and Gradle plugin to 4.0.1 but I still get this error.
There are no capital letters in the path.
Related
I was using the legacy Library but when I used the new androidX library and make any app it just crashes without errors, I have tried logcat without any filters but still shows no error.
CompiledSdk 33
buoldTools 33.0.0
MinSdkVersion 21
maxSdkVersion 33
androidX.appcompat:appcompat:1.5.1
junit 4.12
androidX.test 1.1.4
androidX.test.espresso 3.5.0
Android studio 4
Build 193.6911.18.40.6514223 May 20, 2020
I have tried the latest version of Android studio for Linux but same result. Any help
I used to develop android apps using Intellij in the past but ever since i got my new laptop i am completely unable to make any android apps.
At first i had issues with the java version i had installed (17, android seems to be incompatible?) where i was unable to even build or import a project, which i solved by only installing java version 11 (which currently still is the only installed version).
I can build and import projects just fine but whenever i try to launch it on my S8+ running android 9 (same thing when i use android 10 or higher using and avd), it gives me the following error: Can't download Android Plugin component: android-plugin-resources: Check logs for details and it refuses to install on my phone.
I have removed and installed a different android sdk multiple times on my pc (currently i have api 31 installed), but the issue persists. Same thing for projects i worke on in the past, i only imported the project that used to work completely fine in the past, and the error appears.
export logs detail, it indicate this
WARN - oad.AndroidComponentDownloader - Can't download Android Plugin component: android-plugin-resources
java.io.IOException: Failed to download 'https://cache-redirector.jetbrains.com/intellij-dependencies/org/jetbrains/intellij/deps/android/tools/base/android-plugin-resources/27.3.0.0/android-plugin-resources-27.3.0.0.zip':
Unsupported or unrecognized SSL message
so download this zip file and import it in your ide
I am trying to run the mlkit demo application from github on my local setup in Android studio , but when i am trying to build i am getting below error
"Cannot determine path to 'tools.jar' library for Android API 26 Platform (C:/Users//AppData/Local/Android/Sdk)"
I have tried installing jdk 8 which has tools.jar and put the java home path to the same jdk path but still error persists
Also when i try for android app bundle i get another issue as gradle plugin should be 3.2 or higher although my gradle plugin is higher than 3.2
Any help is appreciated
I am trying to update my Eclipse to Android Lollipop. I am done with downloading the required SDK and installing the same. My problem is that after doing this when I try to create a new project for Android 5.0 it does not list it in the Target SDk drop down. However, When I go to the android folder where I have downloaded the latest SDK and run it it does enlist Android 5.0 there but does not show it when I run SDK Manager from eclipse. I have done lot of troubleshooting like re-installing the whole eclipse again and followed steps given in various same kind of questions but nothing seems working for me.
You have to right click on your project in Eclipse --> Properties --> Android --> Project Build Target and then select Android 5.0.1.
Also you may need to check AndroidManifest.xml for the targetSdkVersion value and target attribute in your project.properties file.
Clean and build your project and you will be fine.
I'm starting out Android development with IntelliJ IDEA 12.0.
I have installed and configured JDK and Android SDK. I wanted to target Android SDK 2.3.3 so the SDK is configured as in the screenshot.
When I try and run the project though, I'm getting the following error:
android-validator: [untitled] Incompatible version of Android SDK Platform-tools package. Min version is 11. Please, update it though SDK manager
Followed by
android-validator: [untitled] Incompatible version of Android SDK Tools package. Min version is 19. Please, update it though SDK manager
I wasn't able to find any information on this and not sure what this means. Any pointers is appreciated.
--New project config--
--Install Android Packages--
android-validator: [untitled] Incompatible version of Android SDK
Platform-tools package. Min version is 11. Please, update it though
SDK manager
Because you have revision 10 and the IntelliJ IDEA tool needs revision 11
android-validator: [untitled] Incompatible version of Android SDK
Tools package. Min version is 19. Please, update it though SDK manager
Because you have revision 16 and the IntelliJ IDEA tool needs revision 19
The mentioned minimal revisions are requirements for IntelliJ IDEA to provide Android tools and to compile your applications. You should definitly launch again the Android SDK Manager and check the Tools folder, as on your screenshot, and click on "Install 2 packages".
I had the same issue. I updated "Android SDK Platform-tools" but it didn't work.
After that I realized that in the past I set c:\Android\android-sdk as the SDK folder. But the SDK manager was updating the folder named c:\Documents and Settings\my.user\Local Settings\Application Data\Android\android-sdk So IntelliJ was checking the old folder.
Problem solved after changing to right folder. So be sure that you set new folder if you have such issue. Check help documentation for setting the SDK folders: http://www.jetbrains.com/idea/webhelp/configuring-global-project-and-module-sdks.html