试图从Android Studio中导出我的apk,但我一直被这个烦人的错误所困扰。
在执行进程C:\ Users \ costy \ AppData \ Local \ Android \ Sdk \ ndk-bundle \ ndk-build.cmd时出现错误,参数为{NDK_PROJECT_PATH = null APP_BUILD_SCRIPT = C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ build \ intermediates \ ndk \ debug \ Android.mk APP_ABI = x86_64 NDK_ALL_ABIS = x86_64 NDK_DEBUG = 1 APP_PLATFORM = android-16 NDK_OUT = C:/用户/ costy / AndroidStudioProjects / android1 / app / build / intermediates / ndkBuild / debug / obj NDK_LIBS_OUT = C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ build \ intermediates \ ndkBuild \ debug \ lib C:/ Users / costy / AndroidStudioProjects / android1 / app / build / intermediates / ndkBuild / debug / obj / local / x86_64 / libplayer_shared.so} Android NDK:警告:模块player_shared在C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ build \ intermediates \ ndk \ debug \ Android.mk中不受支持的源文件扩展名
Android NDK:C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ src \ main \ jni \ Android.mk C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ src \ main \ jni \ Application.mk C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ src \ main \ jni \ list.sh
[x86_64]编译++:player_shared <= main.cpp C:\ Users \ costy \ AndroidStudioProjects \ android1 \ app \ src \ main \ jni \ main.cpp:1:10:致命错误:找不到'PTPAppDelegate.h'文件#include“ PTPAppDelegate.h”
Android Gradle
value
App Gradle
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
allprojects {
repositories {
jcenter()
google()
}