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 8.0 開發者 FAQAndroid
- Android Oreo 常見問題 2.0 | Android 開發者 FAQ Vol.9Android
- Android Oreo 常見問題 3.0 | Android 開發者 FAQ Vol.11Android
- Android UI 及 API 優化指南|Android 開發者 FAQ Vol.10AndroidUIAPI優化
- Android Oreo 常見問題 2.0 | Android 開發者 FAQ Vol.9Android
- Android 8.0 Oreo 開發者常見問題 | Android 開發者 FAQ Vol.7Android
- Android P FAQ第一彈:非SDK管控特性Android
- Android 相容性 | Google Play 開發者 FAQ 特別版AndroidGo
- Docker FAQDocker
- Oracle FaqOracle
- Volatility FAQ
- autoit《FAQ大全》
- Windows Phone FAQWindows
- 非 SDK 介面常見問題 | Android 開發者 FAQ Vol.13Android
- Kotlin 語言入門寶典 | Android 開發者 FAQ Vol.5KotlinAndroid
- Oracle並行FAQOracle並行
- flutter基礎faqFlutter
- linux FAQ(zz)Linux
- Oracle Database Internals FAQOracleDatabase
- squid官方faqUI
- ABAP Interview Faq'sView
- 《Redis官方教程》-FAQRedis
- Oracle Backup and Recovery FAQOracle
- MySQL複製FAQMySql
- RedHatPostfix中文FAQ(轉)Redhat
- Instant App 常見問題官方指南 | Android 開發者 FAQ Vol.6APPAndroid
- FAQ寶典之RancherServerServer
- Microsoft .NET 框架 FAQ (轉)ROS框架
- 【譯】ConfigureAwait FAQAI
- 資料結構FAQ (轉)資料結構
- PostgreSQL常見問題(FAQ)SQL
- FAQ: Goods Receipt sd 問題Go
- udev-FAQ 中文翻譯dev
- REDHAT 7.1 sendmail配置FAQ (轉)RedhatAI
- Oracle效能優化FAQ (zt)Oracle優化
- 轉載:Oracle iLearning FAQOracle
- RSLB2 windows下使用FAQWindows
- The SAP Business Suite 4 SAP HANA FAQUI