签署 apk 时构建失败

Build failed when signing apk

我在设置证书字段时遇到构建错误,还阅读 Error Log 我找不到要点,我缺少什么。

空白证书字段一切正常,我得到了我的 apk。

这是我的构建参数

ios.locationUsageDescription=Some functionality of the application depends on your location
ios.objC=true
ios.project_type=ios
win.ver=8
android.xpermissions=<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/><uses-feature         android:glEsVersion="0x00020000"         android:required="true"/>
ios.dsym=false
android.xapplication=<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="XXXXXXXXXXXXXXXXXXXXX"/>
ios.glAppDelegateHeader=
#import "GoogleMaps/GoogleMaps.h"
ios.add_libs=SystemConfiguration.framework
ios.statusbar_hidden=false
ios.application_exits=false
ios.includePush=false
android.playService.maps=true
android.GoogleMaps.minPlayServicesVersion=9.4.0
j2me.nativeThemeConst=0
java.version=8
ios.pods=,GoogleMaps
ios.prerendered_icon=false
ios.testFlight=false
rim.obfuscation=false
ios.interface_orientation=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight
ios.newStorageLocation=true
android.release=true
ios.pods.platform=,7.0
android.debug=true
ios.pods.sources=,https://github.com/CocoaPods/Specs.git

你能给我一些提示或一些 link 阅读吗? 谢谢,戴维德。

由于以下 proguard 个警告,您的构建失败了:

Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration
Warning: net.amicofree.fdrmobile.cno.forms.BarCodeForm: can't find referenced class org.apache.avalon.framework.configuration.DefaultConfiguration

如果您认为引用的 class 存在于您编译和构建的项目中,您可以在 proguard 规则中添加以下行以抑制这些警告:

-dontwarn net.amicofree.fdrmobile.cno. forms.**