Skip to content

Windows: Error building with NDK #49

Open
@SharkPika

Description

@SharkPika

This is the complete output:
D:\dex2c>python dcc.py -a SkyCloudDriven.apk -o out.apk -p --filter filter.txt
[INFO ] dcc: Creating .tmp folder
[INFO ] dcc: Backing up jni folder
[INFO ] dcc: Adjusting Application.mk file using available abis from apk
[INFO ] dcc: No lib abis found in apk, using the ones defined in Application.mk file
[WARNING ] androguard.core.api_specific_resources: Requested API level 35 is larger than maximum we have, returning API level 34 instead.
make: *** No rule to make target 'jni/nc/Java_cn_sky_app_adapter_FileListAdapter_00024_00024ExternalSyntheticLambda0__0003cinit_0003e__Lcn_sky_app_adapter_FileListAdapter_2Lcn_sky_app_adapter_FileListAdapter_00024ViewHolder_2Ljava_lang_String_2.cpp', needed by 'obj/local/armeabi-v7a/objs/stub/nc/Java_cn_sky_app_adapter_FileListAdapter_00024_00024ExternalSyntheticLambda0__0003cinit_0003e__Lcn_sky_app_adapter_FileListAdapter_2Lcn_sky_app_adapter_FileListAdapter_00024ViewHolder_2Ljava_lang_String_2.o'. Stop.
make: *** Waiting for unfinished jobs....
[ERROR ] dcc: Compile SkyCloudDriven.apk failed!
Traceback (most recent call last):
File "D:\QQ\1127367472\FileRecv\Source\dex2c\dcc.py", line 1189, in
dcc_main(
File "D:\QQ\1127367472\FileRecv\Source\dex2c\dcc.py", line 922, in dcc_main
build_project(project_dir)
File "D:\QQ\1127367472\FileRecv\Source\dex2c\dcc.py", line 311, in build_project
check_call([NDKBUILD, "-j%d" % cpu_count(), "-C", project_dir], stderr=STDOUT)
File "C:\Program Files\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['E:\BaiduNetdiskDownload\Android\Ndk\ndk-build.cmd', '-j12', '-C', '.tmp\dcc-project-NLuDE6Pw']' returned non-zero exit status 2.
Command '['E:\BaiduNetdiskDownload\Android\Ndk\ndk-build.cmd', '-j12', '-C', '.tmp\dcc-project-NLuDE6Pw']' returned non-zero exit status 2.
[INFO ] dcc: Restoring jni folder
[INFO ] dcc: Removing .tmp folder

Help plz!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions