Android Studio – local path doesn’t exist

I originally saw this error after upgrading from 0.2.13 to 0.3. These instructions have been updated for the release of Android Studio 0.5.2. These are the steps I completed to resolve the issue. 1.In build.gradle make sure gradle is set to 0.9.0 buildscript { repositories { mavenCentral() } dependencies { classpath ‘com.android.tools.build:gradle:0.9.0’ } } 2.In … Read more

This version of the application is not configured for billing through Google Play

This error may be caused by several reasons. Here is the list of requirements for the Google IAB testing. Prerequisites: AndroidManifest must include “com.android.vending.BILLING” permission. APK is built in release mode. APK is signed with the release certificate(s). (Important: with “App Signing by Google Play” it only works if you download directly from GooglePlayStore!) APK … Read more

How to sign an android apk file

The manual is clear enough. Please specify what part you get stuck with after you work through it, I’d suggest: https://developer.android.com/studio/publish/app-signing.html Okay, a small overview without reference or eclipse around, so leave some space for errors, but it works like this Open your project in eclipse Press right-mouse – > tools (android tools?) – > … Read more

How to get APK signing signature?

You can access the APK’s signing signature like this using the PackageManager class http://developer.android.com/reference/android/content/pm/PackageManager.html Signature[] sigs = context.getPackageManager().getPackageInfo(context.getPackageName(), PackageManager.GET_SIGNATURES).signatures; for (Signature sig : sigs) { Trace.i(“MyApp”, “Signature hashcode : ” + sig.hashCode()); } I’ve used this to compare with the hashcode for my debug key, as a way to identify whether the APK is a … Read more

How do you install an APK file in the Android emulator?

You can simply drag and drop the .apk file of your application to the emulator and it will automatically start installing. Another option: Windows: Execute the emulator (SDK Manager.exe->Tools->Manage AVDs…->New then Start) Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory. Paste the APK file in … Read more

How to create a release signed apk file using Gradle?

Easier way than previous answers: Put this into ~/.gradle/gradle.properties RELEASE_STORE_FILE={path to your keystore} RELEASE_STORE_PASSWORD=***** RELEASE_KEY_ALIAS=***** RELEASE_KEY_PASSWORD=***** Modify your app/build.gradle, and add this inside the android { code block: … signingConfigs { release { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD // Optional, specify signing versions used v1SigningEnabled true v2SigningEnabled true } } buildTypes { … Read more