错误提示如下:
target thumb C++: third_party_WebKit_Source_modules_modules_gyp <= external/chromium_org/third_party/WebKit/Source/modules/device_orientation/DeviceSensorEventDispatcher.cpp
target thumb C++: third_party_WebKit_Source_modules_modules_gyp <= external/chromium_org/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.cpp
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/cms/CMSTypedData
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.cms.CMSTypedData
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.android.signapk.SignApk. Program will exit.
make: *** [out/target/product/generic/obj/APPS/framework-res_intermediates/package.apk] Error 1
make: *** Waiting for unfinished jobs....
root@vultr:~/android-4.4.4_r1#
找到CMSTypedData.java,其路径为android-4.4.4_r1.7z\android-4.4.4_r1\external\bouncycastle\bcpkix\src\main\java\org\bouncycastle\cms
打开
CMSTypedData.java
,具体代码如下:
package org.bouncycastle.cms;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
public interface CMSTypedData
extends CMSProcessable
{
ASN1ObjectIdentifier getContentType();
}
和官方源码对比了,一模一样。
求助各位大神,哪里出了问题啊?
感激不尽,事后会把这次编译过程记录下来,发到看雪上,帮助他人少走弯路。