Android SDK tools revision 12 has problem with Proguard => error conversion to Dalvik format failed with error 1 [duplicate]

The problem is caused by ProGuard command line in R12 in the file [Android SDK Installation Directory]\tools\proguard\bin\proguard.bat. Simply edit the following line will solve the problem. Change call %java_exe% -jar “%PROGUARD_HOME%”\lib\proguard.jar %* to call %java_exe% -jar “%PROGUARD_HOME%”\lib\proguard.jar %1 %2 %3 %4 %5 %6 %7 %8 %9

(How) Can an android virtual device use the local computer’s internet?

https://developer.android.com/studio/run/emulator-networking.html As noted therein: “Each instance of the emulator runs behind a virtual router/firewall service that isolates it from your development machine’s network interfaces and settings and from the internet. An emulated device can not see your development machine or other emulator instances on the network. Instead, it sees only that it is connected through … Read more

Android SDK Manager gives “Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml” error when selecting repository

Try this solution and it worked. this problem is caused because ADB is unable to connect to the android servers to fetch updates. (If at home try turning off firewall) Goto Android SDK Manager c://android-sdk-windows/ open SDK-Manager Click Settings – Will be asked for a proxy. If have one enter the IP address and the … Read more

How do I pause Flash content in an Android WebView when my activity isn’t visible?

I don’t see where you see that BrowserActivity or anything is calling pauseTimers(). I do see where onPause() for BrowserActivity eventually routes to onPause() of WebView. However, onPause() of WebView has the @hide annotation and so is not part of the SDK. Off the cuff, it would seem like onPause() is what you want, given … Read more

Custom SSL handling stopped working on Android 2.2 FroYo

Here is the answer, with many, many thanks to a helpful Seesmic developer willing to share the fix: In the custom socket factory, the socket creation (with createSocket) has apparently been changed specifically for the SSLSocketFactory implementation. So the old: @Override public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException { … Read more