签署apk时构建失败

时间:2017-12-23 09:52:23

标签: android apk codenameone

我设置证书字段时出现构建错误,同时阅读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

你可以给我一个提示或一些阅读链接吗? 感谢大卫。

1 个答案:

答案 0 :(得分:2)

由于以下if (dir != null) { this.dx += dirs[dir][0] this.dy += dirs[dir][1] } 警告,您的构建失败:

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 规则的下面添加一行来抑制这些警告:

proguard