android-sdk-tools

How to open my android app at a start up of android mobile? [duplicate]

邮差的信 提交于 2019-12-11 03:09:46
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to Start an Application on Startup? I am new to android and I have my android app. I just want to open my app at start up of my android mobile. Plz tell me How to do this? I am using Eclipse with android sdk 2.3.3 回答1: If you want to do it pragmatically <receiver android:name=".MyServiceManager" android:enabled="true" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <category

Android-sdk manager is not showing all Packages

谁都会走 提交于 2019-12-10 17:37:59
问题 I have a problem , my android-sdk-manager is suddenly stopped showing all packages, it is only showing the installed packages only. Can you guys help me out how to solve this issue? 回答1: Navigate through File --> setting --> Android SDK --> SDK update site tab, in that check force https://... sources to be fetched using http://... 回答2: Firstly, just try toggling " Updates/New ", there might be a glitch on the SDK manager itself. Secondly you can go to " Tools -> Manage Add On sites... "

How to update old Android project for the updates in new Android SDK tools?

狂风中的少年 提交于 2019-12-10 06:23:10
问题 Previously I was using an older version of Android SDK Tools, and now I moved to a new pc, setup my new development environment from scratch and copied and imported the projects from the previous pc. Now if I create a new project in the current environment I notice that the SDK creates a file proguard.cfg in the root folder of the project which I didn't see for any of my previous projects on the previous setup. I looked up the use of proguard.cfg and it sounds useful. But this proguard.cfg

Android studio 2.0 SDK Validation warning about ANDROID_SDK_HOME?

爱⌒轻易说出口 提交于 2019-12-09 21:08:10
问题 I encountered this warning when using Android Studio 2.0. What does this mean? SDK Validation ANDROID_SDK_HOME is set to the root of your SDK: C:\Users\Sujin\AppData\Local\Android\sdk This is the path of the preference folder expected by the Android tools. It should NOT be set to the same as the root of your SDK. Please set it to a different folder or do not set it at all. If this is not set we default to: C:\Users\Sujin 回答1: You should move out the SDK directory to a distinct directory then

ProGuard can cause incorrect calculations

前提是你 提交于 2019-12-09 09:42:20
问题 I have met a pretty strange bug. The following small piece of code uses a rather simple math. protected double C_n_k(int n, int k) { if(k<0 || k>n) return 0; double s=1; for(int i=1;i<=k;i++) s=s*(n+1-i)/i; return s; } Edit Using ProGuard can make it go wrong on some devices. I have it confirmed on HTC One S Android 4.1.1 build 3.16.401.8, but judging by e-mails I got, a lot of phones with Android 4+ are affected. For some of them (Galaxy S3), american operator-branded phones are affected,

How can I change the --android-platform in Qt Creator to not be android--1 in debug mode?

老子叫甜甜 提交于 2019-12-09 02:51:55
问题 I'm trying to run a new Qt Quick application on my android device through Qt Creator. However, Qt Creator keeps using Android API version 1 whereas I would like it to target an Android API version 10 ( aka Android 2.3.3). When I run Debug->Start Debugging and then select either an armeabi or armeabi-v7a on my physical device and emulators, Qt mysteriously continues to target android--1 : "C:\Qt\5.4\android_armv5\bin\androiddeployqt.exe" --input C:/dev/qc/build-qc_mobile-Android_for_armeabi

Application “Eclipse” can't be opened. -10810

假装没事ソ 提交于 2019-12-08 19:14:00
问题 After updating SDK for android L Preview, i tried to update ADT to 23 from adt 22 but it said version conflict.so couldnot able to update the ADT then i uninstalled the ADT plugin via about eclipse, after restarting eclipse was not opening up, it show the alert as Application "Eclipse" can't be opened. -10810 回答1: This happened to me when dealing with the latest Development Tools version 23 problem with Eclipse and the Android Development Tools as noted in this article. The easiest solution I

After Installing ADT Plugin, Welcome to Android Development Doesnt Appear

不想你离开。 提交于 2019-12-08 15:04:55
问题 I am stuck after installation Eclipse with ADT Plugin. After all the steps are completed, it should show "Welcome to android Development" but instead I just see Java development. My setup is as follows: Java JDK 6 Eclipse Juno SR1 Android SDK 4.1- All default packages and USB driver ADT Plugin After ADT installation, Eclipse restarts and it should then show "Welcome to Android Development but it doesn't Anyone knows what could be the issue? appreciate if someone can help me. Thanks. 回答1: Try

Error within Debug UI: java.lang.reflect.InvocationTargetException after updating Android SDK Tool and ADT

感情迁移 提交于 2019-12-07 20:08:19
问题 Just now I updated Android SDK Tools to 22.6 and then updated ADT to 22.6. But after that I'm not able to run my android projects in eclipse. I'm getting an error dialog showing this message, Error within Debug UI: java.lang.reflect.InvocationTargetException Should I update DDMS also? here is the error window, 回答1: Problem solved successfully by updating DDMS. Hope this will be helpful to someone, facing the same problem 来源: https://stackoverflow.com/questions/22345836/error-within-debug-ui

What is android:immersive attribute in Android manifest file?

跟風遠走 提交于 2019-12-07 18:19:42
问题 I was developing an app for Google glass and i was facing a problem with my activity. They ended when i didn't interact with them for 7 to 10 seconds. After the screen turned off and i tapped my glass to wake it up again, my activity would disappear and i was on ok glass Screen. I searched a lot but couldn't find any solution to this. Then i came across this android:immersive attribute in Activity in AndroidManifest.xml file. After using android:immersive="true" in my activity