android-sdk-tools

How to create .obb file as main apk expansion file using jobb tool?

被刻印的时光 ゝ 提交于 2019-11-27 17:02:22
问题 I have an apk of 80Mb and so am not able to upload it on google play store. I have googled a lot and found that I have to create .obb file as the main expansion file. Also I have found that I can create a .obb file using the jobb tool which is inside sdk > tools > jobb.bat but unfortunately it closes just after it starts. So am I missing something? 回答1: i have googled and found that we shold have to make .zip with 0% (No compression) that is mention in http://developer.android.com/google/play

Unable to open DDMS in Android Studio. Mysterious Eclipse error pops up

寵の児 提交于 2019-11-27 16:09:44
So here I go again with yet another Android Studio tools error. I don't think this one has been reported before, I can't find any posts on it. I am trying to open the Device Monitor (DDMS) in Android Studio by clicking on the following button: Every time I get the same error. What's really puzzling is that its an Eclipse error, as shown in the image: So it tells me to open a log file in the Android Studio SDK folder. The log file contains lots of text, but the main error is reported as: !ENTRY org.eclipse.osgi 4 0 2015-05-27 09:40:53.091 !MESSAGE Application error !STACK 1 java.io.IOException:

Eclipse doesn't generate MainActivity.java & activity_main.xml

北战南征 提交于 2019-11-27 13:12:50
On creating a new Android Application Project, MainActivity.java under its package name should be generated automatically in src folder & activity_main.xml should be created inside layout folder. But it is not created. And also in manifest it doesn`t generate this POC <activity android:name="info.androidhive.slidingmenu.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> However, I added all these things manually. activity_main.xml then

Android Hello-World compile error: Intellij cannot find aapt

痞子三分冷 提交于 2019-11-27 10:59:17
I'm trying to get set up with an Android development environment using IntelliJ in Ubuntu 12.04. I create an Android Application Module, but when I try to build, I get the following error: android-apt-compiler: Cannot run program "/home/jon/Programs/android-sdk-linux/platform-tools/aapt": java.io.IOException: error=2, No such file or directory Several hours of scouring the internet hasn't helped. By the way, I ran locate aapt in the terminal and found that aapt is located at /home/jon/Programs/android-sdk-linux/build-tools/17.0.0/aapt It appears that the latest update to the r22 SDK release

Could not find gradle wrapper within Android SDK. Might need to update your Android SDK [duplicate]

狂风中的少年 提交于 2019-11-27 05:27:12
问题 This question already has answers here : Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK - Android (24 answers) Closed 2 years ago . I am trying to take build in an ionic2 application. I got this error while running ionic build android . The error log is ANDROID_HOME=/home/varun/Android/Sdk JAVA_HOME=/usr/lib/jvm/java-8-oracle Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: /home/varun

How to perform minification and obfuscation with the JACK compiler?

耗尽温柔 提交于 2019-11-27 04:57:24
Google has released a test version of their new JACK compiler for Android developers with Android Studio 2.1. My question is, how do we enable obfuscation for the APK with JACK? The article below says that JACK performs obfuscation natively and eliminates the need for Proguard: Compiling with Jack Whereas the following article says that JACK makes use of Proguard configuration files (i.e. the .pro file) for performing obfuscation: Experimental New Android Tool Chain - Jack and Jill . It also says that During this process Jack also handles any requested code minification (shrinking and/or

Truncated Android SDK package paths from sdkmanager CLI

橙三吉。 提交于 2019-11-27 04:20:27
问题 ./sdkmanager --list > tmp.txt gives me a .txt file like this: Installed packages: Path | Version | Description | Location ------- | ------- | ------- | ------- tools | 25.2.3 | Android SDK Tools 25.2.3 | tools/ Available Packages: Path | Version | Description ------- | ------- | ------- add-ons;addon-g..._apis-google-15 | 3 | Google APIs add-ons;addon-g..._apis-google-16 | 4 | Google APIs add-ons;addon-g..._apis-google-17 | 4 | Google APIs add-ons;addon-g..._apis-google-18 | 4 | Google APIs

Cordova : [Error: Please install Android target: “android-21”

蓝咒 提交于 2019-11-27 04:12:37
问题 I just updated cordova + ionic in my app, after that i installed successfully Android-SDK v22 via Android SDK manager. But after the running command: cordova build android I always get the following message: Running command: /Users/peter/workspace/myapp/platforms/android/cordova/build [Error: Please install Android target: "android-21". Hint: Open the SDK manager by running: /Users/peter/adt-bundle-mac/sdk/tools/android You will require: 1. "SDK Platform" for android-21 2. "Android SDK

Android Sdk tools Revision 22 issue?

淺唱寂寞╮ 提交于 2019-11-27 04:11:35
I just updated the SDK tools in Eclipse to revision 22, and since then I cannot build my project. Specifically the R class is not recognized in my Activity (I was getting compiler errors) and even when I imported manually, again the import was not working. Additionally the project gen folder is empty, and cleaning the project/workspace (having build automatically option on) didn't make any difference. Is this a known issue? Did it happen to everyone? Is there a workaround? Maybe Google just wants us to switch to Android platform the soonest possible? bkurzius I had major issues with the update

Update to Android SDK Tools 23.0.5 and avd doesn't start

人走茶凉 提交于 2019-11-27 01:55:51
问题 I am running on Windows 8.1 x64, developing Android apps using ADT Bundle. Previously (before updating the Android SDK Tools) the AVD was working very correctly and after the update, it says the following error while starting the AVD emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed! I tried to delete the avd, avd-folder from the windows user-specific