Reputation: 129
I added a new API to my custom android OS, and followed these steps to create the SDK:
Then configured Android Studio to use the new SDK:
Result: When I'm trying to build the project, the build process stuck with a message:
AAPT process not ready to receive commands
In the meanwhile I found a workaround to use the custom android.jar (in answers)
Upvotes: 6
Views: 4529
Reputation: 129
Workaround for using the new android.jar in Android Studio:
Note: Before replacing the jar file, be sure that you have downloaded the appropriate android SDK from the Android SDK Manager. For example: If your custom SDK is for android-23, download the android-23 SDK platform. The compileSdkVersion 23 field in the app's build.gradle file, must be equal to the custom SDK number you created.
Upvotes: 2