目录
Could not find method jackOptions() for arguments
Cannot set the value of read-only property 'outputFile'
Absolute path are not supported when setting an output file name
Could not find method jackOptions() for arguments
去掉 jackOptions { enabled true }
Cannot set the value of read-only property 'outputFile'
将variant.outputs.each 改为variant.outputs.all
将output.outputFile改为outputFileName
Absolute path are not supported when setting an output file name
applicationVariants.all { variant ->
variant.outputs.all { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
def fileName = xxx(自行替换)
outputFileName = fileName
}
}
}
com.android.ddmlib.AdbCommandRejectedException: device unauthorized.
插上USB后,真机上要确认允许USB调试。
其他
Android Neural Networks API (NNAPI) 是一个基于 Android 系统的用于可在移动设备上运行与机器学习相关的计算密集型操作的 C 语言 API,NNAPI 将为更高层次的可构建和训练神经网络的机器学习框架(如 TensorFLow Lite, Caffe2, 等等)提供底层支持。