- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想将来自 github 的带有包装器的 opus 库添加到我的项目中,但在构建时遇到一些错误。也许有人知道发生了什么事。
附上构建日志。
Build command failed. Error while executing process C:\Users\DOROSHKO\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\build\intermediates\ndkBuild\debug\lib D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so}
[armeabi-v7a] Compile thumb : senz <= decode_parameters.c
[armeabi-v7a] Compile thumb : senz <= LP_variable_cutoff.c
[armeabi-v7a] Compile thumb : senz <= tables_NLSF_CB_NB_MB.c
[armeabi-v7a] Compile thumb : senz <= tables_NLSF_CB_WB.c
[armeabi-v7a] Compile thumb : senz <= tables_pitch_lag.c
[armeabi-v7a] Compile thumb : senz <= tables_pulses_per_block.c
[armeabi-v7a] Compile thumb : senz <= control_audio_bandwidth.c
[armeabi-v7a] Compile thumb : senz <= HP_variable_cutoff.c
[armeabi-v7a] Compile thumb : senz <= NLSF_del_dec_quant.c
[armeabi-v7a] Compile thumb : senz <= check_control_input.c
[armeabi-v7a] Compile thumb : senz <= inner_prod_aligned.c
[armeabi-v7a] Compile thumb : senz <= LPC_analysis_filter.c
[armeabi-v7a] Compile thumb : senz <= LPC_inv_pred_gain.c
[armeabi-v7a] Compile thumb : senz <= NLSF_VQ_weights_laroia.c
[armeabi-v7a] Compile thumb : senz <= pitch_est_tables.c
[armeabi-v7a] Compile thumb : senz <= resampler_down2_3.c
[armeabi-v7a] Compile thumb : senz <= resampler_private_AR2.c
[armeabi-v7a] Compile thumb : senz <= resampler_private_down_FIR.c
[armeabi-v7a] Compile thumb : senz <= resampler_private_IIR_FIR.c
[armeabi-v7a] Compile thumb : senz <= resampler_private_up2_HQ.c
[armeabi-v7a] Compile thumb : senz <= stereo_decode_pred.c
[armeabi-v7a] Compile thumb : senz <= stereo_encode_pred.c
[armeabi-v7a] Compile thumb : senz <= stereo_find_predictor.c
[armeabi-v7a] Compile thumb : senz <= stereo_quant_pred.c
[armeabi-v7a] Compile thumb : senz <= apply_sine_window_FLP.c
[armeabi-v7a] Compile thumb : senz <= corrMatrix_FLP.c
[armeabi-v7a] Compile thumb : senz <= encode_frame_FLP.c
[armeabi-v7a] Compile thumb : senz <= find_LPC_FLP.c
[armeabi-v7a] Compile thumb : senz <= find_LTP_FLP.c
[armeabi-v7a] Compile thumb : senz <= find_pitch_lags_FLP.c
[armeabi-v7a] Compile thumb : senz <= find_pred_coefs_FLP.c
[armeabi-v7a] Compile thumb : senz <= LPC_analysis_filter_FLP.c
[armeabi-v7a] Compile thumb : senz <= LTP_analysis_filter_FLP.c
[armeabi-v7a] Compile thumb : senz <= LTP_scale_ctrl_FLP.c
[armeabi-v7a] Compile thumb : senz <= noise_shape_analysis_FLP.c
[armeabi-v7a] Compile thumb : senz <= process_gains_FLP.c
[armeabi-v7a] Compile thumb : senz <= regularize_correlations_FLP.c
[armeabi-v7a] Compile thumb : senz <= residual_energy_FLP.c
[armeabi-v7a] Compile thumb : senz <= warped_autocorrelation_FLP.c
[armeabi-v7a] Compile thumb : senz <= wrappers_FLP.c
[armeabi-v7a] Compile thumb : senz <= autocorrelation_FLP.c
[armeabi-v7a] Compile thumb : senz <= burg_modified_FLP.c
[armeabi-v7a] Compile thumb : senz <= bwexpander_FLP.c
[armeabi-v7a] Compile thumb : senz <= energy_FLP.c
[armeabi-v7a] Compile thumb : senz <= inner_product_FLP.c
[armeabi-v7a] Compile thumb : senz <= LPC_inv_pred_gain_FLP.c
[armeabi-v7a] Compile thumb : senz <= pitch_analysis_core_FLP.c
[armeabi-v7a] Compile thumb : senz <= scale_copy_vector_FLP.c
[armeabi-v7a] Compile thumb : senz <= scale_vector_FLP.c
[armeabi-v7a] Compile thumb : senz <= arm_silk_map.c
[armeabi-v7a] Compile thumb : senz <= biquad_alt_neon_intr.c
[armeabi-v7a] Compile thumb : senz <= LPC_inv_pred_gain_neon_intr.c
[armeabi-v7a] Compile thumb : senz <= NSQ_del_dec_neon_intr.c
[armeabi-v7a] Compile thumb : senz <= arm_celt_map.c
[armeabi-v7a] Compile thumb : senz <= celt_neon_intr.c
[armeabi-v7a] Compile thumb : senz <= pitch_neon_intr.c
[armeabi-v7a] Compile thumb : senz <= opus_multistream_encoder.c
[armeabi-v7a] Compile thumb : senz <= opus_multistream_decoder.c
[armeabi-v7a] SharedLibrary : libsenz.so process_begin: CreateProcess
...
D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so, ...) failed. make (e=87): �������� ����� �������. make: *** [D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so] Error 87
同时添加Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog
LOCAL_MODULE:= senz
#################### COMPILE OPTIONS #######################
# Uncomment this for fixed-point build
#FIXED_POINT=1
# It is strongly recommended to uncomment one of these
# VAR_ARRAYS: Use C99 variable-length arrays for stack allocation
# USE_ALLOCA: Use alloca() for stack allocation
# If none is defined, then the fallback is a non-threadsafe global array
LOCAL_CFLAGS := -DUSE_ALLOCA
#CFLAGS := -DVAR_ARRAYS $(CFLAGS)
# These options affect performance
# HAVE_LRINTF: Use C99 intrinsics to speed up float-to-int conversion
# inline: Don't use the 'inline' keyword (for ANSI C compilers)
# restrict: Don't use the 'restrict' keyword (for pre-C99 compilers)
LOCAL_CFLAGS += -DHAVE_LRINTF
#CFLAGS := -Dinline= $(CFLAGS)
#LOCAL_CFLAGS := -Drestrict= $(CFLAGS)
OPUS_VERSION := "1.0.3"
PACKAGE_VERSION := $(OPUS_VERSION)
LOCAL_CFLAGS += -DOPUS_VERSION='$(OPUS_VERSION)'
WARNINGS := -Wall -W -Wstrict-prototypes -Wextra -Wcast-align -Wnested-externs -Wshadow
LOCAL_CFLAGS += -O2 -g $(WARNINGS) -DOPUS_BUILD
# TODO: add libNE10 for ARM
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_ARM_NEON := true
LOCAL_CFLAGS += -DOPUS_ARM_ASM -DOPUS_ARM_INLINE_EDSP -DOPUS_ARM_INLINE_MEDIA \
-DOPUS_ARM_INLINE_ASM -DOPUS_ARM_INLINE_EDSP -DOPUS_ARM_INLINE_NEON \
-DOPUS_ARM_MAY_HAVE_EDSP -DOPUS_ARM_MAY_HAVE_MEDIA -DOPUS_ARM_MAY_HAVE_NEON \
-DOPUS_ARM_PRESUME_EDSP -DOPUS_ARM_PRESUME_MEDIA \
-DOPUS_ARM_MAY_HAVE_NEON_INTR -DOPUS_HAVE_RTCD
CPU_ARM=1
HAVE_ARM_NEON_INTR=1
endif
ifeq ($(TARGET_ARCH_ABI),x86)
LOCAL_CFLAGS += -msse4.2 -mavx
LOCAL_CFLAGS += -DOPUS_X86_MAY_HAVE_SSE -DOPUS_X86_MAY_HAVE_SSE2 -DOPUS_X86_MAY_HAVE_SSE4_1 \
-DOPUS_X86_MAY_HAVE_AVX -DOPUS_X86_PRESUME_SSE -DOPUS_X86_PRESUME_SSE2 \
-DOPUS_HAVE_RTCD -DCPU_INFO_BY_C
HAVE_SSE=1
HAVE_SSE2=1
HAVE_SSE4_1=1
endif
ifeq ($(TARGET_ARCH_ABI),x86_64)
LOCAL_CFLAGS += -mavx
LOCAL_CFLAGS += -DOPUS_X86_MAY_HAVE_SSE -DOPUS_X86_MAY_HAVE_SSE2 -DOPUS_X86_MAY_HAVE_SSE4_1 \
-DOPUS_X86_MAY_HAVE_AVX -DOPUS_X86_PRESUME_SSE -DOPUS_X86_PRESUME_SSE2 \
-DOPUS_X86_PRESUME_SSE4_1 -DOPUS_HAVE_RTCD -DCPU_INFO_BY_C
HAVE_SSE=1
HAVE_SSE2=1
HAVE_SSE4_1=1
endif
include $(LOCAL_PATH)/opus/silk_sources.mk
include $(LOCAL_PATH)/opus/celt_sources.mk
include $(LOCAL_PATH)/opus/opus_sources.mk
ifdef FIXED_POINT
SILK_SOURCES += $(SILK_SOURCES_FIXED)
ifdef HAVE_SSE4_1
SILK_SOURCES += $(SILK_SOURCES_SSE4_1) $(SILK_SOURCES_FIXED_SSE4_1)
endif
ifdef HAVE_ARM_NEON_INTR
SILK_SOURCES += $(SILK_SOURCES_FIXED_ARM_NEON_INTR)
endif
else
SILK_SOURCES += $(SILK_SOURCES_FLOAT)
ifdef HAVE_SSE4_1
SILK_SOURCES += $(SILK_SOURCES_SSE4_1)
endif
endif
ifdef FIXED_POINT
else
OPUS_SOURCES += $(OPUS_SOURCES_FLOAT)
endif
ifdef HAVE_SSE
CELT_SOURCES += $(CELT_SOURCES_SSE)
endif
ifdef HAVE_SSE2
CELT_SOURCES += $(CELT_SOURCES_SSE2)
endif
ifdef HAVE_SSE4_1
CELT_SOURCES += $(CELT_SOURCES_SSE4_1)
endif
ifdef CPU_ARM
CELT_SOURCES += $(CELT_SOURCES_ARM)
SILK_SOURCES += $(SILK_SOURCES_ARM)
ifdef HAVE_ARM_NEON_INTR
CELT_SOURCES += $(CELT_SOURCES_ARM_NEON_INTR)
SILK_SOURCES += $(SILK_SOURCES_ARM_NEON_INTR)
endif
ifdef HAVE_ARM_NE10
CELT_SOURCES += $(CELT_SOURCES_ARM_NE10)
endif
endif
LOCAL_SRC_FILES := \
$(patsubst %,$(LOCAL_PATH)/opus/%,$(SILK_SOURCES) $(CELT_SOURCES) $(OPUS_SOURCES)) \
com_score_rahasak_utils_OpusEncoder.c \
com_score_rahasak_utils_OpusDecoder.c
all:
echo $(LOCAL_SRC_FILES)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/opus/include/ \
$(LOCAL_PATH)/opus/silk/ \
$(LOCAL_PATH)/opus/silk/fixed \
$(LOCAL_PATH)/opus/silk/float \
$(LOCAL_PATH)/opus/celt/ \
$(LOCAL_PATH)/opus/src/ \
$(LOCAL_PATH)/opus/
ifdef FIXED_POINT
CFLAGS += -DFIXED_POINT=1 -DDISABLE_FLOAT_API
#LOCAL_C_INCLUDES += $(LOCAL_PATH)/opus/silk/fixed
else
#LOCAL_C_INCLUDES += $(LOCAL_PATH)/opus/silk/float
endif
LOCAL_STATIC_LIBRARIES := cpufeatures
# TARGET_ARCH_ABI := armeabi-v7a arm64-v8a
include $(BUILD_SHARED_LIBRARY)
$(call import-module,android/cpufeatures)
附上 opus 包装器的链接: Opuslib wrapper
希望得到您的帮助
在提出这个问题后不久,我找到了错误 87 的解决方案。您应该添加
LOCAL_SHORT_COMMANDS := true //(Android.mk)
APP_SHORT_COMMANDS := true //(Application.mk)
但之后我又遇到了另一个构建错误(错误1):
Build command failed.
Error while executing process C:\Users\DOROSHKO\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\build\intermediates\ndkBuild\debug\lib D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so}
[armeabi-v7a] Compile thumb : senz <= CNG.c
���⥬� �� 㤠���� ���� 㪠����� ����.
make: *** [D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/senz/D_/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/src/main/jni/opus/silk/code_signs.o.cflags.tmp] Error 1
改变gradle线后
classpath 'com.android.tools.build:gradle:3.0.1'
至
classpath 'com.android.tools.build:gradle:3.1.2'
这条线消失了
[armeabi-v7a] Compile thumb : senz <= CNG.c
但错误 1 仍然存在。
构建日志:
org.gradle.internal.UncheckedException: Build command failed.
Error while executing process C:\Users\DOROSHKO\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\build\intermediates\ndkBuild\debug\lib D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so}
���⥬� �� 㤠���� ���� 㪠����� ����.
make: *** [D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/senz/D_/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/src/main/jni/opus/silk/code_signs.o.cflags.tmp] Error 1
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:63)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:40)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:76)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:780)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:747)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: Build command failed.
Error while executing process C:\Users\DOROSHKO\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\GitProject\aliservicescontroller\AliServicesControllerAndroid\opuslib\build\intermediates\ndkBuild\debug\lib D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/libsenz.so}
���⥬� �� 㤠���� ���� 㪠����� ����.
make: *** [D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/senz/D_/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/src/main/jni/opus/silk/code_signs.o.cflags.tmp] Error 1
at com.android.build.gradle.tasks.ExternalNativeBuildTaskUtils.executeBuildProcessAndLogError(ExternalNativeBuildTaskUtils.java:244)
at com.android.build.gradle.tasks.ExternalNativeBuildTask.executeProcessBatch(ExternalNativeBuildTask.java:307)
at com.android.build.gradle.tasks.ExternalNativeBuildTask.build(ExternalNativeBuildTask.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
... 44 more
希望得到您的帮助
最佳答案
$ echo 'D:/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/senz/D_/GitProject/aliservicescontroller/AliServicesControllerAndroid/opuslib/src/main/jni/opus/silk/code_signs.o.cflags.tmp' | wc -c
266
此路径对于 Windows 来说太长( Windows file paths 限制为 260 个字符)。您需要将项目移至较短的路径中。
关于java - Android Studio 构建 NDK {NDK_PROJECT_PATH=null} 错误 87 => 错误 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52363215/
我正在编写一个具有以下签名的 Java 方法。 void Logger(Method method, Object[] args); 如果一个方法(例如 ABC() )调用此方法 Logger,它应该
我是 Java 新手。 我的问题是我的 Java 程序找不到我试图用作的图像文件一个 JButton。 (目前这段代码什么也没做,因为我只是得到了想要的外观第一的)。这是我的主课 代码: packag
好的,今天我在接受采访,我已经编写 Java 代码多年了。采访中说“Java 垃圾收集是一个棘手的问题,我有几个 friend 一直在努力弄清楚。你在这方面做得怎么样?”。她是想骗我吗?还是我的一生都
我的 friend 给了我一个谜语让我解开。它是这样的: There are 100 people. Each one of them, in his turn, does the following
如果我将使用 Java 5 代码的应用程序编译成字节码,生成的 .class 文件是否能够在 Java 1.4 下运行? 如果后者可以工作并且我正在尝试在我的 Java 1.4 应用程序中使用 Jav
有关于why Java doesn't support unsigned types的问题以及一些关于处理无符号类型的问题。我做了一些搜索,似乎 Scala 也不支持无符号数据类型。限制是Java和S
我只是想知道在一个 java 版本中生成的字节码是否可以在其他 java 版本上运行 最佳答案 通常,字节码无需修改即可在 较新 版本的 Java 上运行。它不会在旧版本上运行,除非您使用特殊参数 (
我有一个关于在命令提示符下执行 java 程序的基本问题。 在某些机器上我们需要指定 -cp 。 (类路径)同时执行java程序 (test为java文件名与.class文件存在于同一目录下) jav
我已经阅读 StackOverflow 有一段时间了,现在我才鼓起勇气提出问题。我今年 20 岁,目前在我的家乡(罗马尼亚克卢日-纳波卡)就读 IT 大学。足以介绍:D。 基本上,我有一家提供簿记应用
我有 public JSONObject parseXML(String xml) { JSONObject jsonObject = XML.toJSONObject(xml); r
我已经在 Java 中实现了带有动态类型的简单解释语言。不幸的是我遇到了以下问题。测试时如下代码: def main() { def ks = Map[[1, 2]].keySet()
一直提示输入 1 到 10 的数字 - 结果应将 st、rd、th 和 nd 添加到数字中。编写一个程序,提示用户输入 1 到 10 之间的任意整数,然后以序数形式显示该整数并附加后缀。 public
我有这个 DownloadFile.java 并按预期下载该文件: import java.io.*; import java.net.URL; public class DownloadFile {
我想在 GUI 上添加延迟。我放置了 2 个 for 循环,然后重新绘制了一个标签,但这 2 个 for 循环一个接一个地执行,并且标签被重新绘制到最后一个。 我能做什么? for(int i=0;
我正在对对象 Student 的列表项进行一些测试,但是我更喜欢在 java 类对象中创建硬编码列表,然后从那里提取数据,而不是连接到数据库并在结果集中选择记录。然而,自从我这样做以来已经很长时间了,
我知道对象创建分为三个部分: 声明 实例化 初始化 classA{} classB extends classA{} classA obj = new classB(1,1); 实例化 它必须使用
我有兴趣使用 GPRS 构建车辆跟踪系统。但是,我有一些问题要问以前做过此操作的人: GPRS 是最好的技术吗?人们意识到任何问题吗? 我计划使用 Java/Java EE - 有更好的技术吗? 如果
我可以通过递归方法反转数组,例如:数组={1,2,3,4,5} 数组结果={5,4,3,2,1}但我的结果是相同的数组,我不知道为什么,请帮助我。 public class Recursion { p
有这样的标准方式吗? 包括 Java源代码-测试代码- Ant 或 Maven联合单元持续集成(可能是巡航控制)ClearCase 版本控制工具部署到应用服务器 最后我希望有一个自动构建和集成环境。
我什至不知道这是否可能,我非常怀疑它是否可能,但如果可以,您能告诉我怎么做吗?我只是想知道如何从打印机打印一些文本。 有什么想法吗? 最佳答案 这里有更简单的事情。 import javax.swin
我是一名优秀的程序员,十分优秀!