0

假设我从 android real-world 应用程序下载Google Play并计划在收到的 android 应用程序中进行动态分析。因此,我首先apktool对收到的 android 应用程序进行逆向工程,然后通过添加build.xml文件和其他一些文件,执行sudo ant clean debug命令。这可以在我自己构建的具有蚂蚁结构的几个项目上完成。但不幸的是,现实世界的应用程序不会发生这种情况,并给出与资源相关的以下错误。

Buildfile: /home/xxx/APK/Accept/psiphon3/build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 25.2.5
 [checkenv] Installed at /usr/local/Application/Android

-setup:
     [echo] Project Name: psiphone3
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 19.1.0
     [echo] Resolving Build Target for psiphone3...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
[gettarget] WARNING: No minSdkVersion value set. Application will install on all Android versions.
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/libs
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin/res
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin/rsObj
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin/rsLibs
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/gen
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin/classes
    [mkdir] Created dir: /home/xxx/APK/Accept/psiphon3/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for psiphone3...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] invalid resource directory name: /home/xxx/APK/Accept/psiphon3/res/values-b+sr+Latn

BUILD FAILED
/usr/local/Application/Android/tools/ant/build.xml:649: The following error occurred while executing this line:
/usr/local/Application/Android/tools/ant/build.xml:694: null returned: 1


有没有办法在不执行现实世界的模拟器或设备上的程序的情况下进行调试?

4

0 回答 0