我正在重新编译miui helper应用程序,但是在重新编译时遇到错误。
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:name="com.qihoo.util.StubApplication" **android:qihoo="activity"** android:theme="@style/AppTheme">
<activity android:label="@string/app_name" android:name=".MainActivity" android:theme="@style/ActionBarTheme">
错误日志:
F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ AndroidManifest.xml:11:错误:在包'android'中找不到属性'qihoo'的资源标识符
线程“主”中的异常brut.androlib.AndrolibException:brut.androlib.AndrolibException:brut.common.BrutException:无法执行命令:[C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜1 \ Temp \ brut_util_Jar_2355496078147801760.tmp ,p,-force-package-id,127,-min-sdk-version,15,-target-sdk-version,22,-version-code,1,-version-name,1.0,- F,C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜1 \ Temp \ APKTOOL1767990981439973830.tmp,-0,arsc,-I,F:\ Downloads \ Compressed \ apkmanager \ 1-BDFreak \ Frameworks \ 1.apk, -S,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ res,-M,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ AndroidManifest.xml]
在brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
在brut.androlib.Androlib.buildResources(Androlib.java:397)
在brut.androlib.Androlib.build(Androlib.java:285)
在brut.androlib.Androlib.build(Androlib.java:256)
在brut.apktool.Main.cmdBuild(Main.java:225)
在brut.apktool.Main.main(Main.java:84)
引起原因:brut.androlib.AndrolibException:brut.common.BrutException:无法执行命令:[C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜1 \ Temp \ brut_util_Jar_2355496078147801760.tmp,p,--forced-package- id,127,-min-sdk-version,15,-target-sdk-version,22,-version-code,1,-version-name,1.0,-F,C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜1 \ Temp \ APKTOOL1767990981439973830.tmp,-0,arsc,-I,F:\ Downloads \ Compressed \ apkmanager \ 1-BDFreak \ Framework \ 1.apk,-S,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ res,-M,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ AndroidManifest.xml]
在brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
在brut.androlib.Androlib.buildResourcesFull(Androlib.java:445)
...另外5个
引起原因:brut.common.BrutException:无法执行命令:[C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜1 \ Temp \ brut_util_Jar_2355496078147801760.tmp,p,--forced-package-id,127,- min-sdk-version 15,--target-sdk-version,22,--version-code,1,--version-name,1.0,-F,C:\ DOCUME〜1 \ ADMINI〜1 \ LOCALS〜 1 \ Temp \ APKTOOL1767990981439973830.tmp,-0,arsc,-I,F:\ Downloads \ Compressed \ apkmanager \ 1-BDFreak \ Framework \ 1.apk,-S,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ res,-M,F:\ Downloads \ Compressed \ apkmanager \ 3-Out \ MIUIHelper.apk \ AndroidManifest.xml]
在brut.util.OS.exec(OS.java:89)
在brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
...另外6个
最佳答案
从清单中删除android:qihoo =“ activity”,然后运行。还可以请您告诉我们哪个属性是android:qihoo