1,Unable to resolve target ' android-5 ' unable to resolve destination ' android -5 '
Unable to resolve target ' Google inc.:google apis:7 '
1> project has an Android manifest file, double click to enter
2>. Switch to the code area and add the phrase <uses-sdk android:minsdkversion= "8"/> under <manifest--->
3>. Directly into the manifest area, click the User SDK to change to your emulator version: 8 or 10
2.No launcher activity found unable to resolve target ' android -5 '
He launch would only sync the application package on the device!
The reason is: in Androidmanifest.xml no add:
1 <intent-filter>2 <category android:name= "Android.intent.category.LAUNCHER"/>3 <action android:name= "Android.intent.action.MAIN"/>4 </intent-filter>
View Code
So the initiator could not find the activity to start.
Androidmanifest.xml before the modification:
1<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"2 Package= "Com.test.test"3Android:versioncode= "1"4Android:versionname= "1.0" >5<uses-SDK6android:minsdkversion= "11"7Android:targetsdkversion= "/>"8<Application9Android:allowbackup= "true"Tenandroid:icon= "@drawable/ic_launcher" OneAndroid:label= "@string/app_name" AAndroid:theme= "@style/apptheme" > -<activity android:name= "Com.test.sudoku.Sudoku" > -</activity> the</application> -</manifest>
View Code
After modification:
<manifest xmlns:android= "Http://schemas.android.com/apk/res/android" Package= "Com.test.test"Android:versioncode= "1"Android:versionname= "1.0" > <uses-SDK Android:minsdkversion= "11"android:targetsdkversion= "/>" <Application Android:allowbackup= "true"Android:icon= "@drawable/ic_launcher"Android:label= "@string/app_name"Android:theme= "@style/apptheme" > <activity android:name= "Com.test.sudoku.Sudoku" > <strong><intent -filter> <category android:name= "Android.intent.category.LAUNCHER"/> <action an Droid:name= "Android.intent.action.MAIN"/> </intent-filter></strong> </activity> </application></manifest>
View Code
Android Bug Record