2014-02-24 142 views
0

好日子計算器AVD顯示在控制檯

當我嘗試運行我的AVD應用它給在控制檯下面的錯誤:

[2014-02-24 06:39:35 - lib-c2callsdkres] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. 

[2014-02-24 07:44:37 - pull-to-refresh] Unable to resolve target 'android-16' 

[2014-02-24 07:53:43 - pull-to-refresh] Unable to resolve target 'android-16' 

[2014-02-24 11:13:41 - lib-c2callsdkres] Project has no project.properties file! Edit the project properties to set one. 

[2014-02-24 11:44:07 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\user\workspace\SdkDemo\AndroidManifest.xml: The value of attribute "android:authorities" associated with an element type "null" must not contain the '<' character. 

[2014-02-24 11:44:07 - SdkDemo] Error in an XML file: aborting build. 

[2014-02-24 12:07:13 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] 

Parser exception for C:\Users\user\workspace\SdkDemo\AndroidManifest.xml: The value of attribute "android:name" associated with an element type "null" must not contain the '<' character. 

[2014-02-24 12:07:13 - SdkDemo] Error in an XML file: aborting build. 

[2014-02-24 12:07:44 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] 

Parser exception for C:\Users\user\workspace\SdkDemo\AndroidManifest.xml: Open quote is expected for attribute "{1}" associated with an element type "android:name". 

[2014-02-24 12:07:44 - SdkDemo] Error in an XML file: aborting build. 

[2014-02-24 12:25:33 - Scringo] Project has no project.properties file! Edit the project properties to set one. 

[2014-02-24 13:00:55 - google-play-services_lib] WARNING: unable to write jarlist cache file C:\Users\user\workspace\google-play-services_lib\bin\jarlist.cache 

[2014-02-24 13:00:55 - google-play-services_lib] WARNING: unable to write jarlist cache file C:\Users\user\workspace\google-play-services_lib\bin\jarlist.cache 

[2014-02-24 13:01:13 - ScringoSample] Project has no project.properties file! Edit the project properties to set one. 

[2014-02-24 13:01:15 - ScringoSample] WARNING: unable to write jarlist cache file C:\Users\user\workspace\ScringoSample\bin\jarlist.cache 

[2014-02-24 13:01:16 - ScringoSample] WARNING: unable to write jarlist cache file C:\Users\user\workspace\ScringoSample\bin\jarlist.cache 

[2014-02-24 13:01:16 - ScringoSample] WARNING: unable to write jarlist cache file C:\Users\user\workspace\ScringoSample\bin\jarlist.cache 

[2014-02-24 13:01:16 - ScringoSample] WARNING: unable to write jarlist cache file C:\Users\user\workspace\ScringoSample\bin\jarlist.cache 

[2014-02-24 15:01:35 - ScringoSample] ------------------------------ 

[2014-02-24 15:01:35 - ScringoSample] Android Launch! 

[2014-02-24 15:01:35 - ScringoSample] adb is running normally. 

[2014-02-24 15:01:36 - ScringoSample] Performing com.scringo.scringosample.MainActivity activity launch 

[2014-02-24 15:01:37 - ScringoSample] Automatic Target Mode: launching new emulator with compatible AVD 'nexus' 

[2014-02-24 15:01:37 - ScringoSample] Launching a new emulator with Virtual Device 'nexus' 

Blockquote 

[2014-02-24 15:02:19 - Emulator] emulator: warning: opening audio input failed 

[2014-02-24 15:02:19 - Emulator] 

[2014-02-24 15:02:26 - ScringoSample] New emulator found: emulator-5554 

[2014-02-24 15:02:26 - ScringoSample] Waiting for HOME ('android.process.acore') to be launched... 

[2014-02-24 15:09:04 - ScringoSample] HOME is up on device 'emulator-5554' 

[2014-02-24 15:09:04 - ScringoSample] Uploading ScringoSample.apk onto device 'emulator-5554' 

[2014-02-24 15:09:09 - ScringoSample] Installing ScringoSample.apk... 

[2014-02-24 15:11:24 - ScringoSample] Failed to install ScringoSample.apk on device 'emulator-5554! 

[2014-02-24 15:11:24 - ScringoSample] (null) 

[2014-02-24 15:11:24 - ScringoSample] Launch canceled! 

我會想知道所需要的解決方案

謝謝

+1

我認爲它的Java編譯器版本。在項目屬性中將其降級到1.6。 – Adnan

+1

還有一件事,在拉動刷新時,將android版本更改爲您已安裝的api版本。 Android 16未安裝在您的機器上。 – Adnan

回答

0

更改清單文件中所需的android版本。

還右鍵單擊它並轉到Android工具 - >修復項目屬性以修復java版本。

當使用帶字符串的開關盒時,與最新的java版本相比,android不支持該開關盒。