Stuck at “.android/repositories.cfg could not be loaded.”
Create the file! try: mkdir -p .android && touch ~/.android/repositories.cfg
Create the file! try: mkdir -p .android && touch ~/.android/repositories.cfg
I have had the same problem, after an update I got a similar error. It can be fixed to manually edit the project.properties file and update the android-16 part to the latest one you have installed. In your current case that is android-17. I guess it can be configured using Android ADT as well, but … Read more
I found a temporary solution for people having this problem. You can start your AVD in CMD prompt like this Windows C:\program files\android\android-sdk-windows\tools\emulator -avd <avdname> -dns-server 8.8.8.8 Mac cd ~/Library/Android/sdk/emulator ./emulator -avd <avdname> -dns-server 8.8.8.8 8.8.8.8 is google public DNS. The problem seems to be that the emulator can’t find the DNS your computer is … Read more
I faced the similar problem. In my case I had created the new virtual device and had enabled the snapshot. I just unchecked the checkbox Go to AVD Manager -> Select the device -> click Edit and uncheck the Enabled checkbox. I hope this works.
This is what I always do to use hidden api. Build the repo or download jars from https://sites.google.com/site/hippunosource/home/android/androidnohide-apiwo-shi-yongsuru-rifurekushonha-wei-shi-yong copy out out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar (better to rename it as something like framework_all.jar) config your project build path–>libraries –> add this external jars. In Order and Export, move it up and before android.jar