Guest mistermentality Posted February 13, 2011 Report Share Posted February 13, 2011 (edited) I used the batch file in this forum to put an app on market and yesterday added one simple activity starter to it to start a web page. Now although the program works great on my phone it will not compile with the batch file I get the error: "I: Copying classes.dex file... I: Checking whether resources has changed... I: Building resources... C:\appinventor_batch_file\Is_it_safe\AndroidManifest.xml:2: error: Error parsing XML: unbound prefix Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce ption: could not exec command: [aapt, p, -F, C:\Users\dave\AppData\Local\Temp\AP KTOOL8725311512788538673.tmp, -I, C:\Users\dave\apktool\framework\1.apk, -S, C:\ appinventor_batch_file\Is_it_safe\res, -M, C:\appinventor_batch_file\Is_it_safe\ AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source) at brut.androlib.Androlib.buildResourcesFull(Unknown Source) at brut.androlib.Androlib.buildResources(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.apktool.Main.cmdBuild(Unknown Source) at brut.apktool.Main.main(Unknown Source) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\dave\AppData\Local\Temp\APKTOOL8725311512788538673.tmp, -I, C:\Users\dave\a pktool\framework\1.apk, -S, C:\appinventor_batch_file\Is_it_safe\res, -M, C:\app inventor_batch_file\Is_it_safe\AndroidManifest.xml] at brut.util.OS.exec(Unknown Source) ... 7 more C:\appinventor_batch_file>" When this happens is at the edit xml manifest stage, the part right after. Manifest xml is: <?xml version="1.0" encoding="UTF-8"?> <manifest package="appinventor.ai_mygt_dh.Is_it_safe" android:versionCode= "1" android:versionName= "1.0" android:installLocation="auto"> <uses-permission android:name="android.permission.INTERNET" /> <uses-sdk android:minSdkVersion="3" /> <application android:label="Is_it_safe" android:icon="@drawable/ya"> <activity android:name=".Screen1" android:configChanges="keyboardHidden|orientation"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.google.devtools.simple.runtime.components.android.ListPickerActivity" android:configChanges="keyboardHidden|orientation" /> <activity android:name="com.google.devtools.simple.runtime.components.android.WebViewActivity" android:configChanges="keyboardHidden|orientation"> <intent-filter> <action android:name="android.intent.action.MAIN" /> </intent-filter> </activity> </application> </manifest> Any ideas why? Is it because I used activity starter? Dave Edited February 13, 2011 by mistermentality Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now