DCloud_App_Array
DCloud_App_Array
  • 发布:2014-07-31 11:59
  • 更新:2026-04-24 17:35
  • 阅读:916839

【文档已过期】Android离线打包

分类:HTML5+

要回复文章请先登录注册

breeze

breeze

自带的演示工程直接运行没问题,但是打包就报这样一堆错误,完全新手直接不知所措了。
[2015-04-27 10:17:34 - HBuilder-Hello] Proguard returned with error code 1. See console
[2015-04-27 10:17:34 - HBuilder-Hello] Note: there were 1934 duplicate class definitions.
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.baidu.mapapi.map.SupportMapFragment: can't find referenced method 'void onViewStateRestored(android.os.Bundle)' in class android.support.v4.app.Fragment
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginButton: can't find referenced class com.sina.weibo.sdk.R$drawable
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginButton: can't find referenced class com.sina.weibo.sdk.R$drawable
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginButton: can't find referenced class com.sina.weibo.sdk.R$drawable
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginButton: can't find referenced class com.sina.weibo.sdk.R$drawable
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginButton: can't find referenced class com.sina.weibo.sdk.R
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: com.sina.weibo.sdk.widget.LoginoutButton: can't find referenced class com.sina.weibo.sdk.R$string
...
...
[2015-04-27 10:17:34 - HBuilder-Hello] You should check if you need to specify additional program jars.
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: there were 127 unresolved references to classes or interfaces.
[2015-04-27 10:17:34 - HBuilder-Hello] You may need to specify additional library jars (using '-libraryjars').
[2015-04-27 10:17:34 - HBuilder-Hello] Warning: there were 1 unresolved references to program class members.
[2015-04-27 10:17:34 - HBuilder-Hello] Your input classes appear to be inconsistent.
[2015-04-27 10:17:34 - HBuilder-Hello] You may need to recompile them and try again.
[2015-04-27 10:17:34 - HBuilder-Hello] Alternatively, you may have to specify the option
[2015-04-27 10:17:34 - HBuilder-Hello] '-dontskipnonpubliclibraryclassmembers'.
[2015-04-27 10:17:34 - HBuilder-Hello] java.io.IOException: Please correct the above warnings first.
[2015-04-27 10:17:34 - HBuilder-Hello] at proguard.Initializer.execute(Initializer.java:321)
[2015-04-27 10:17:34 - HBuilder-Hello] at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-04-27 10:17:34 - HBuilder-Hello] at proguard.ProGuard.execute(ProGuard.java:86)
[2015-04-27 10:17:34 - HBuilder-Hello] at proguard.ProGuard.main(ProGuard.java:492)
2015-04-27 10:56
hyman

hyman

离线包里少gen包项目根本运行不起来
2015-04-02 17:00
禾禾

禾禾

回复 java民工 :
请问你看明白怎么打包了么?
2015-03-30 14:45
禾禾

禾禾

assets 中的那些图片资源 和 data下的 control.xml都是从哪来的?这教程完全没说明白啊
2015-03-30 14:30
禾禾

禾禾

回复 lqdsj :
请问你搞明白 怎么把一个 H5的项目打包成APK了么?我感觉还是自己写个 webview打开asset下的html页呢,这么理解对么?
2015-03-30 14:21
michael3909

michael3909

回复 suogongy :
不是hbuilder,人家说的很清楚,是带ADT的开发工具,比如eclipse
2015-03-20 11:15
Hadooper

Hadooper

导入演示应用HBuilder-Hello工程,为什么根本导入不进去,HBuilder里面的工程,Eclipse根本不认啊
2015-03-08 00:24
lqdsj

lqdsj

教程上是用的已配置好的实例工程; 但对于新手来说重要的是如何配置一个新的工程(一个空白的Android工程, 如何集成mui工程);另外现在的SDK目录结构是有四个东东 hello, integrate, plugin, sdk , 这四个东东都没有说明(作用, 关系等)
2015-03-04 11:28
深井冰_01

深井冰_01

回复 lzt :
其实也可以安装adt插件,但是,装了adt插件后HBuilder启动会非常慢
2015-02-25 17:59
lzt

lzt

回复 suogongy :
要用eclipse,参考本页开头。
2015-02-10 17:17