Regards
I am following the coursera course, but I am getting an error on: tns doctor
I have seen several posts on stackoverflow, but I have not found a solution.
I already checked my system variables:
I add my sdk in Android Studio
Please I need help, since I want to continue advancing but I don't know what else to do
Thank you very much in advance
I found the answer, you have to install that version in sdk tools
Related
Im starting with flutter. I have the flutter sdk setup. When I run flutter doctor sometimes it shows
Android Licenses are not accepted and other times it shows Android licenses are not accepted. Can someone tell me why flutter is gaving this weird behavior.
Another thing is when I run flutter doctor --android-licenses it wont wait for my to input y, otherwise it doestn't show anything
I have
- Sdk 29,28,27,26 platform
- Obsolete Sdk tool package
- Commandline tools
- emulator
- sdk platform tools
I think it should work with the obsolete sdk tools.
But I have no idea why it is acting weird.
It worked when I reset my windows.
Its not a perfect solution but hope it will help someone.
I think reinstalling Android Studio after clearning its cache and all other files will help
I was working on a game for android on unity, and after I downloaded the android sdk, the ndk, the google, usb drivers and the jdk, I tried to build, but everytime I did so it popped an error to me which was
Exeption in "main" thread java.lang.NoClassFoundError
and it has been driving me nuts. I got a similar error in unity which was android is not a valid command, then I tried to update the sdk in the cmd with the command
android update sdk
which was correct but I got the same error, and so on with
sdkmanager --update sdk
Any help would be appreciated, so thanks in advance!
Edit: Wrong answer first time. Try downgrading to JDK 8.
I'm running Meteor 1.4.4.2 and i'm trying to figure out how to get Android Studio to work with it. I am aware that there is a known issue with android sdk Tools 25.3.x and I have searched all over the web and seen plenty of "solutions" that simply have not worked for me. I have recently uninstalled Android Studio for like the 5th time and I now have a 25.2.3 version of sdk tools. Where can I go from here? I have the most recent version of JDK installed. I've tried downloading Android Studio and the switching out the tools folder for this older version and that got rid of my original error message in the command line (which i'm sorry I didn't save unfortunately, but it said two things. It said cordova could not find sdk tools and that there was no .gradle) but then it tried to build the app and then threw 30-50 error messages that I did not understand. My system is macOS Sierra 10.12.4
I am a true beginner in all this so thank you for your patience. Any help would be so much appreciated. Thanks!
i was looking for answer to this question and found this Cannot find a compatible Android SDK for compilation when running `tns platform add android`
But none of the answers helped me, it still throws error.
Here is what i'm doing:
Installed chocolatey
installed everything like in tutorial
Cloned sample project and so on
Trying to "tns platform add android" and got
Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 22 or later.
My setup is Windows7 x32, and it's my first time to try nativescript (which looks really powerful at the sample video), and i'm really interested in it, can someone help me with this problem?
Did you install the sdk platform & tools ? If not run android from the command prompt the sdk manager should open then you can install the tools required (Android SDK Tools, Android SDK Platform-tools & Android SDK Build-tools). After try running tns platform add android again ..:)
Looks like i've found answer to my own question again.
I looked at Set Up Windows guide and at the line Install the required Android SDKs and the Local Maven repository for Support Libraries. with code echo yes | "%ANDROID_HOME%\tools\android" update sdk --filter tools,platform-tools,android-23,build-tools-23.0.2,extra-android-m2repository,extra-google-m2repository,extra-android-support --all --no-ui
bug appeared here, nothing actually installed nor updated, i should get everything at right from the | in that code and run it in cmd, answering y on all questions. That helped, but thanks for all answers, it made me look one more time at docs.
"The following SDK components were not installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22". How can I solve this kind of problem? I already installed some SDK components but it didn't work. Please give me some advice to solve this. Thanks in advance.
You did not give details about what exactly you installed and where the error comes from. But often people forget to follow this step after installing android sdk:
Run the SDK manager in your android-sdk folder and let it install the missing parts.