Android FAQ
You will find out troubleshooting for Android application development here.
Java 7 SDK, and Android SDK and AVD Manager (installer_r13-windows.exe).
Software being installed: Android Development Tools
12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group
12.0.0.v201106281929-138431)
Missing requirement: Android Development Tools 12.0.0.v201106281929-138431
(com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)
requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found .
- Start Eclipse, then select Help > Install New Software....
- Click Add, in the top-right corner.
- In the Add Repository dialog that appears, enter "The Eclipse Project Updates" for the Name and the following URL for the Location:
- Click OK
- Click "Select All" button,then Click "Next" button to finish the eclipse update process.
2. Wrapper was not properly loaded first
Q: After I setup the Android SDK and created a new andoird project "Hello World", then to Run it, it threw an error message as below.
[2011-02-15 11:00:33 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-02-15 11:00:33 - HellWorld] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first.
A: Locate the file "eclipse.ini" under the root directory of the Eclipse installation, for example "
C:/Program Files (x86)/eclipse
". Open it with Notepad. Change the last 2 line to be
-Xmx512m
Save and close it, then restart the Eclipse IDE, click menu "Project -> Clean". It's OK now.
3. Invalid command-line parameter: Files.
Q: Create a HelloWorld android project, then run it in Emulator. It throws the following errror messages in the console.
[2011-07-13 16:22:48 - Emulator] invalid command-line parameter: Files.
[2011-07-13 16:22:48 - Emulator] Hint: use to launch a virtual device named 'foo'.
[2011-07-13 16:22:48 - Emulator] please use -help for more information
A: The reason is that you installed the android SDK on Windows 7, and the installation path is like "
C:/Program Files (x86)/Android/android-sdk
To walk this around, in Eclipse, click menu "Window -> Preferences", select "Android" on the left frame, change the SDK location to be "
C:/Program Files (x86)/Android/android-sdk
". then click "Apply" and "OK" button.
The key point here is that you should use 8.3 format names for the path. To view the 8.3 formate name for SDK location, open cmd.exe, input the following command:
dir /x c:
Alternatively, you can choose to install the android SDK under a location without White Space. That's also ok.
android:versionCode="1"
android:versionName="1.0">
An internal error occurred during: "Install download0". Comparison method violates its general contract!
A: The error caused by Eclipse SDK update. To avoid this problem, Download the Eclipse SDK 3.7.1 from directly. Then retry the step above to install new software.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13651903/viewspace-1055549/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Android Oreo 常見問題 2.0 | Android 開發者 FAQ Vol.9Android
- Android Oreo 常見問題 3.0 | Android 開發者 FAQ Vol.11Android
- Android UI 及 API 優化指南|Android 開發者 FAQ Vol.10AndroidUIAPI優化
- Android P FAQ第一彈:非SDK管控特性Android
- Docker FAQDocker
- Volatility FAQ
- Seneca FAQ
- MaxCompute studio FAQ
- 【譯】ConfigureAwait FAQAI
- 非 SDK 介面常見問題 | Android 開發者 FAQ Vol.13Android
- CSDN學院FAQ
- flutter基礎faqFlutter
- Oracle並行FAQOracle並行
- 雲原生網路代理 MOSN FAQ
- RSLB2 windows下使用FAQWindows
- 小程式·雲開發初級FAQ
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- 音影片FAQ(一):影片直播卡頓
- MTK_on_line_FAQ_HW_Wearable_MT2601
- HarmonyOS Connect FAQ第三期
- NTP反射型DDos攻擊FAQ/補遺反射
- 【FAQ】HarmonyOS SDK 閉源開放能力 —ArkUIUI
- MT6261平臺FAQ資料集錦
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Map Kit
- 【FAQ】HarmonyOS SDK 閉源開放能力 —IAP Kit
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Push Kit
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Account Kit
- MTK_on_line_FAQ_SW_ALPS_Framework+-+Resource+ManagerTheme+ManagerFramework
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Share Kit
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Vision Kit
- FAQ docker執行tomcat提示找不到檔案DockerTomcat
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Push Kit(3)
- MTK FAQ:如何實現連續的PCM流播放
- FAQ-MT6250基線關機有pop音
- 【FAQ】HarmonyOS SDK 閉源開放能力 —IAP Kit(3)
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Map Kit(3)
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Push Kit(6)
- 【FAQ】HarmonyOS SDK 閉源開放能力 — 公共模組
- 【FAQ】HarmonyOS SDK 閉源開放能力 —Push Kit(4)