java.io.FileNotFoundException framework.mod.jar 系统找不到指定的文件
我使用这个帖子中http://bbs.gfan.com/android-5123506-1...
的PDroid Patcher打补丁,为什么会出现这样,该配置的我都配置了。:
PDroid Patcher v0.321 - Patch v1.32Patching G:\pdM\zhu-2.3.5-Sense3.5-RuiZhe-Z36-.zip
Extracting framework files from ROM
已解压: system/framework/framework.jar
已解压: system/framework/core.jar
已解压: system/framework/services.jar
已解压: META-INF/com/google/android/updater-script
已解压: META-INF/com/google/android/update-binary
已解压: META-INF/com/google/android/update-binary-installer
Decompiling original files
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
Cleaning up smali (aggressive mode)
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" framework.mod.jar.out\smali\android\app\ContextImpl.smali 1>framework.mod.jar.out\smali\android\app\ContextImpl.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\app\ContextImpl.smali.new framework.mod.jar.out\smali\android\app\ContextImpl.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" framework.mod.jar.out\smali\android\content\ContentResolver.smali 1>framework.mod.jar.out\smali\android\content\ContentResolver.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\content\ContentResolver.smali.new framework.mod.jar.out\smali\android\content\ContentResolver.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali 1>framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali.new framework.mod.jar.out\smali\android\telephony\PhoneStateListener$1.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali 1>services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali.new services.mod.jar.out\smali\com\android\server\am\ActivityManagerService.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" services.mod.jar.out\smali\com\android\server\ServerThread.smali 1>services.mod.jar.out\smali\com\android\server\ServerThread.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y services.mod.jar.out\smali\com\android\server\ServerThread.smali.new services.mod.jar.out\smali\com\android\server\ServerThread.smali
移动了 1 个文件。
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>..\tools\sed "/^\s*\.\(line\s[0-9]\{1,\}\|local\s.*\|parameter.*\|prologue.*\|end\slocal.*\)\s*$/d" core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali 1>core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new
C:\Users\pc\AppData\Roaming\PDroidPatcher\tmp>move /Y core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali.new core.mod.jar.out\smali\java\lang\ProcessManager$ProcessImpl.smali
移动了 1 个文件。
Applying PDroid patches
patching file smali/android/app/ContextImpl.smali
Hunk #1 succeeded at 47 (offset 14 lines).
Hunk #2 succeeded at 178 (offset 32 lines).
Hunk #3 succeeded at 711 (offset 68 lines).
Hunk #4 succeeded at 1631 (offset 526 lines).
Hunk #5 succeeded at 1652 (offset 526 lines).
Hunk #6 succeeded at 1965 (offset 622 lines).
Hunk #7 succeeded at 2284 (offset 699 lines).
patching file smali/android/content/ContentResolver.smali
Hunk #1 succeeded at 2927 (offset 77 lines).
patching file smali/android/privacy/IPrivacySettingsManager.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub$Proxy.smali
patching file smali/android/privacy/IPrivacySettingsManager$Stub.smali
patching file smali/android/privacy/PrivacyFileObserver.smali
patching file smali/android/privacy/PrivacyPersistenceAdapter.smali
patching file smali/android/privacy/PrivacySettings$1.smali
patching file smali/android/privacy/PrivacySettingsManagerService.smali
patching file smali/android/privacy/PrivacySettingsManager.smali
patching file smali/android/privacy/PrivacySettings.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager$PrivacyAccountManagerFuture.smali
patching file smali/android/privacy/surrogate/PrivacyAccountManager.smali
patching file smali/android/privacy/surrogate/PrivacyActivityManagerService.smali
patching file smali/android/privacy/surrogate/PrivacyContentResolver.smali
patching file smali/android/privacy/surrogate/PrivacyCursor.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager$PrivacyLocationUpdater.smali
patching file smali/android/privacy/surrogate/PrivacyLocationManager.smali
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager.smali
patching file smali/android/telephony/PhoneStateListener$1.smali
Hunk #1 succeeded at 84 (offset 20 lines).
Hunk #2 succeeded at 327 (offset 20 lines).
patching file smali/android/telephony/PhoneStateListener.smali
Hunk #1 succeeded at 33 (offset 6 lines).
Hunk #2 succeeded at 69 with fuzz 1 (offset 6 lines).
Hunk #3 succeeded at 180 (offset 30 lines).
patching file smali/com/android/server/am/ActivityManagerService.smali
Hunk #1 succeeded at 13724 with fuzz 1 (offset 1668 lines).
Hunk #2 succeeded at 21526 (offset 3688 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #1 succeeded at 1122 with fuzz 1 (offset 1082 lines).
Hunk #2 succeeded at 1473 (offset 1121 lines).
patching file smali/java/lang/PrivacyInputStream.smali
patching file smali/java/lang/PrivacyProcessManager$PrivacyFileReader.smali
patching file smali/java/lang/PrivacyProcessManager.smali
patching file smali/java/lang/ProcessManager$ProcessImpl.smali
Creating updater script
Building modified framework.jar
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out\smali\android\app\ContextImpl.smali.orig
W: Could not find resources
I: Building apk file...
已创建: META-INF/
已解压: META-INF/MANIFEST.MF
已解压: preloaded-classes
java.io.FileNotFoundException: framework.mod.jar (系统找不到指定的文件。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at sun.tools.jar.Main.run(Main.java:213)
at sun.tools.jar.Main.main(Main.java:1177)
failed to build framework.jar
以上是 java.io.FileNotFoundException framework.mod.jar 系统找不到指定的文件 的全部内容, 来源链接: utcz.com/p/169768.html