android-sdk-tools

Getting “package android.support.multidex does not exist” after upgrading to Android Studio 2.3

吃可爱长大的小学妹 提交于 2020-01-01 07:28:06
问题 I updated from Android Studio 2.2.3 to Android Studio 2.3 yesterday, and I ran into the following two problems: Upon updating, Gradle 3.2 was installed by default, but syncing my project would not work and I kept getting an error saying "Gradle 3.3 is required". Using the default Gradle wrapper doesn't work. The only way to fix this was to download Gradle 3.3 manually and point to the directory in build settings. On running my project, I kept getting a string of errors involving my

React Native : target with hash string 'android-X' not found

六月ゝ 毕业季﹏ 提交于 2019-12-31 09:10:10
问题 I am trying to develop my first react-native Android app. When I run sudo react-native run-android I get the following error JS server already running. Building and installing the app on the device (cd android && ./gradlew installDebug)... FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > failed to find target with hash string 'android-23' in: /usr/local/Cellar/android-sdk * Try: Run with --stacktrace option to get the stack trace.

Google Cloud Messaging for Android Library not Found in the sdk Manager

送分小仙女□ 提交于 2019-12-30 02:51:08
问题 I am trying to implement a push notification solution for android.I am following the steps given in the following tutorial http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ but when i tried to install the Google Cloud Messaging for Android Library using the android sdk(i am using the latest sdk) i don't find it the extras module like you can see in this picture This is really strange. Is there any solution? 回答1: Install Google Play

How to install old version of Android build tools from command line?

一个人想着一个人 提交于 2019-12-29 10:36:21
问题 I am installing android SDK to create an automated build server. I got into a problem where many Gradle-based Android projects I manage rely on different build tools version. Some of the projects still requiring old build-tools version (e.g. v19.1.0). My android-sdk package was downloaded when build-tools version 20 has just released, so that's the only version available to download via android update sdk -u --filter build-tools . I have tried to invoke android update sdk -u --filter build

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

假如想象 提交于 2019-12-28 04:31:19
问题 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:

Is GUI for Android SDK manager gone?

爷,独闯天下 提交于 2019-12-27 16:38:07
问题 I rarely do something for Android so I'm a bit confused. While back there were two type of installations - Android Studio and just Android SDK. I have IDEA so I don't need Studio. Typically I download SDK that have UI tool to download its components. I just got https://dl.google.com/android/repository/tools_r25.2.3-linux.zip and I can't see UI SDK Manager in it. There is bin/sdkmanager shell script. But it's kinda inconvenient for my purpose because going through output of --list , copy

Device emulator-5554 is not authorized. (Android)

这一生的挚爱 提交于 2019-12-25 02:55:59
问题 I have run into similar problem like this: [emulator-5554 unauthorized for adb devices [1] Basically, I am trying to do some flutter programming on an Android Virtual Device with my Windows 10... although I don't think this problem is flutter-specific. After starting the virtual device, I ran flutter doctor -v Everything seemed fine, except for [!] Connected device • Device emulator-5554 is not authorized. You might need to check your device for an authorization dialog. When I run flutter

Android Studio 1.3 RC3. Google Play services out of date. Requires 7571000 but found 6774470

不羁的心 提交于 2019-12-24 06:11:47
问题 Attempt History It could be a duplicate for this I followed all the suggestions in the comments, none of them helped resolve. So i have a duplicate question with some more additional information. Issue Whenever I run my app with the below mentioned spec of AVD, i get a logcat like Google Play services out of date. Requires 7571000 but found 6774470. Details These are the version of stuffs i have. Please let me know if need any info, currently I'm blocked hope any one from GCM team can help me

Android countdown timer display milliseconds?

雨燕双飞 提交于 2019-12-24 04:10:59
问题 I want a timer to pop up when I click a button that will count down from 3 seconds. And it does that fine but i want it to also show the milliseconds so when I click the button the text would go from 3.0 to 0.1. How would I add the milliseconds to the text view? new CountDownTimer(1000, 3000) { public void onTick(long millisUntilFinished) { textViewTimer.setText("" + millisUntilFinished / 1000); } public void onFinish() { textViewTimer.setVisibility(View.INVISIBLE); textViewLevelGained

Blank Emulator In Android Studio

╄→гoц情女王★ 提交于 2019-12-24 03:05:10
问题 After fixing java.util.zip.ZipException: duplicate entry, my app compiles fine. When I run it in the emulator the screen is black and nothing loads into the interface. Please see Android Manifest below: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.appname.android" android:versionCode="5" android:versionName="1.0.4" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /> <uses-permission android:name=