【有更新】使用ARChon运行安卓应用的测试方法
Tofloor
poster avatar
cxbii
deepin
2016-01-15 00:46
Author
更新:

用下面的方法测试其实挺累的,所以弄了个比较简单的脚本。

使用方法,下载脚本Android.sh.zip,右键文件属性赋予可执行权限。然后终端执行:
  1. android.sh   xx.apk
Copy the Code
就可以自动解压并运行安卓程序了。

当然了安装依赖这你还得自己来,也就是第一次使用必须终端先执行:
  1. sudo apt-get install  archon-integration deepin-archon -y
Copy the Code



============================================================
大家好:
现在公布使用ARChon运行安卓应用的测试方法,打包因为比较麻烦,所以不在本帖子的讨论之内。
请把测试通过的安卓应用和下载链接回复到本帖子,我们将尽快上架到深度商店。


配置环境
1.安装深度操作系统 15 64位;

2.安装ARChon,终端执行:
  1. sudo apt-get install  archon-integration deepin-archon -y
Copy the Code

3.检查系统支持WebGL,检查方法为谷歌浏览器访问chrome://gpu/,查看WebGL是否显示为Hardware accelerated。


测试方法

1.下载测试的安卓apk程序,请尽量下载Pad版本;

2.解压apk程序,终端执行:
  1. /usr/lib/node_modules/chromeos-apk/chromeos-apk --archon -t --scale --name "Android App" xxx.apk   ##xxx.apk为被解压的apk文件名
Copy the Code

3.测试运行,终端执行:
  1. /lastore/framework/myarchon/archonrun --silent-launch --load-and-launch-app=被解压apk程序的完整路径
Copy the Code


测试范例
1.下载布卡漫画HD.apk

2.解压安卓apk程序,终端执行:
  1. /usr/lib/node_modules/chromeos-apk/chromeos-apk --archon -t --scale --name "Android App" bukamanhuaHD_17301579.apk
Copy the Code


3.测试运行,终端执行:
  1. /lastore/framework/myarchon/archonrun --silent-launch --load-and-launch-app=/home/cxbii/下载/cn.ibuka.manga.hd.android
Copy the Code


4.运行成功!



注意事项
1.目前只能在深度操作系统15 64位上运行安卓应用,非深度操作系统15 64位之外的系统都不能运行;
2.如果系统不支持WebGL也将无法运行安卓应用。




Reply Favorite View the author
All Replies
...4 / 9
To page
linjiaju888
deepin
2016-01-16 20:49
#61
Reply View the author
Comments
melodyzou
2016-01-19 21:33
谢谢!我们之后会加到商店的。
150******41
deepin
2016-01-16 23:06
#62
本帖最后由 lostotitan 于 2016-1-16 15:14 编辑

章鱼TV,熊猫TV都能运行,但是无法正常收看
titan@titan-pc:~/下载$ ls
com.zhangyu.android       refind_0.10.1-1_amd64.deb
pandalive_1.0.0.1105.apk  zhangyutv-1.8.2-main-release.apk
titan@titan-pc:~/下载$ /usr/lib/node_modules/chromeos-apk/chromeos-apk --archon -t --scale --name "Android App" pandalive_1.0.0.1105.apk   ##xxx.apk为被解压的apk文件名
Directory " com.panda.videoliveplatform.android " created. Copy that directory onto your Chromebook and use "Load unpacked extension" to load the application.
titan@titan-pc:~/下载$ /lastore/framework/myarchon/archonrun --silent-launch --load-and-launch-app=/home/titan/下载/com.panda.videoliveplatform.android
[6214:6214:0116/151126:ERROR:browser_main_loop.cc(231)] Gtk: 无法在模块路径中找到主题引擎:“adwaita”,
[6214:6214:0116/151126:ERROR:browser_main_loop.cc(231)] Gtk: 无法在模块路径中找到主题引擎:“adwaita”,
[3,2007808256:07:11:26.766937] Native Client module will be loaded at base address 0x0000604e00000000
E/libcommon:       nacl_list_mappings failed with errno:38
Start running
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.panda.videoliveplatform/.activity.WelcomeActivity }
[67,2007808256:07:11:28.514991] Native Client module will be loaded at base address 0x000070a600000000
E/libcommon:       nacl_list_mappings failed with errno:38
[109,2007808256:07:11:29.106939] Native Client module will be loaded at base address 0x0000571b00000000
E/libcommon:       nacl_list_mappings failed with errno:38
send message ack 0
send message ack 0
CONDITION (null) WAS TRUE AT out/staging/src/ndk_translation/interp.cc:81
F/libndk_translation: Undefined instruction: Thumb instruction f50efe1 at (libijkffmpeg.so+0x2074d8)
main.nexe(arc::BacktraceInterface:rint()+0x60) [0x26c4fc0]
libposix_translation.so(__wrap_abort+0xc0) [0x2b17620]
main.nexe(arc:oggerReader:oggerReader(arc:oggerBuffer*)+0x0) [0x26caf60]
main.nexe(ndk_translation:ogTrampoline(ndk_translation:rocessState*, char const*)+0x0) [0x26efa20]
main.nexe(ndk_translation::CLREX(ndk_translation:rocessState*, ndk_translation::CLREX_Args const&)+0x0) [0x26efd40]

minidump: Caught crash
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
[6214:6243:0116/151145:ERROR:extension_protocols.cc(324)] Allowing load of chrome-extension://aghioomflgmkgndhfdbgkfkjdfffcigh/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js.mapfrom unknown origin. Could not find user data for request.
[260,2007808256:07:11:46.714999] Native Client module will be loaded at base address 0x0000235b00000000
E/libcommon:       nacl_list_mappings failed with errno:38


Reply View the author
Comments
melodyzou
2016-01-19 21:41
可以运行,不能收看也是没有办法的哟
150******41
deepin
2016-01-16 23:24
#63
hdp直播和手机电视直播(高清版)都无法正常运行。
Reply View the author
150******41
deepin
2016-01-16 23:28
#64
百度视频打开失败
titan@titan-pc:~/下载$ /lastore/framework/myarchon/archonrun --silent-launch --load-and-launch-app=/home/titan/下载/com.baidu.video.android
[7793:7793:0116/152706:ERROR:browser_main_loop.cc(231)] Gtk: 无法在模块路径中找到主题引擎:“adwaita”,
[7793:7793:0116/152706:ERROR:browser_main_loop.cc(231)] Gtk: 无法在模块路径中找到主题引擎:“adwaita”,
[3,71977216:07:27:07.302983] Native Client module will be loaded at base address 0x00000f8700000000
E/libcommon:       nacl_list_mappings failed with errno:38
Start running
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.baidu.video/.ui.WelcomActivity }
[66,71977216:07:27:10.622976] Native Client module will be loaded at base address 0x000061b300000000
E/libcommon:       nacl_list_mappings failed with errno:38
java.lang.NullPointerException
        at javax.crypto.Cipher.doFinal(Cipher.java:1204)
        at com.baidu.mobstat.a.a.b(Unknown Source)
        at com.baidu.mobstat.CooperService.getCUID(Unknown Source)
        at com.baidu.mobstat.StatService.getCuid(Unknown Source)
        at com.baidu.video.sdk.utils.MtjUtils.getCuid(MtjUtils.java:22)
        at com.baidu.video.sdk.utils.MtjUtils.getEncodeCuid(MtjUtils.java:40)
        at com.baidu.video.sdk.http.HttpTask.makeUpRequestUrl(HttpTask.java:155)
        at ls.buildHttpUriRequest(TPCfgTask.java:29)
        at com.baidu.video.sdk.http.HttpTask.getHttpUriRequest(HttpTask.java:83)
        at com.baidu.video.sdk.http.HttpScheduler.isTaskVaild(HttpScheduler.java:71)
        at com.baidu.video.sdk.http.HttpScheduler$a.run(HttpScheduler.java:247)
java.lang.NoSuchMethodException: startScan [boolean]
        at java.lang.Class.getConstructorOrMethod(Class.java:472)
        at java.lang.Class.getDeclaredMethod(Class.java:640)
        at com.baidu.location.e.try(Unknown Source)
        at com.baidu.location.f.onCreate(Unknown Source)
        at android.app.ActivityThread.handleCreateService(ActivityThread.java:2644)
        at android.app.ActivityThread.access$1700(ActivityThread.java:138)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1524)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:156)
        at android.app.ActivityThread.main(ActivityThread.java:5111)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at android.os.Process$1.run(Process.java:418)
[131,71977216:07:27:12.358988] Native Client module will be loaded at base address 0x000017ac00000000
E/libcommon:       nacl_list_mappings failed with errno:38
[202,71977216:07:27:12.795045] Native Client module will be loaded at base address 0x00003d0400000000
E/libcommon:       nacl_list_mappings failed with errno:38
[215,71977216:07:27:12.992309] Native Client module will be loaded at base address 0x0000569300000000
E/libcommon:       nacl_list_mappings failed with errno:38
[228,71977216:07:27:13.110999] Native Client module will be loaded at base address 0x0000495c00000000
E/libcommon:       nacl_list_mappings failed with errno:38
[241,71977216:07:27:13.255035] Native Client module will be loaded at base address 0x00000f9d00000000
E/libcommon:       nacl_list_mappings failed with errno:38
[254,71977216:07:27:13.371311] Native Client module will be loaded at base address 0x0000282400000000
E/libcommon:       nacl_list_mappings failed with errno:38
org.json.JSONException: No value for tags
        at org.json.JSONObject.get(JSONObject.java:355)
        at org.json.JSONObject.getString(JSONObject.java:515)
        at cf.b(DataStore.java:58)
        at com.baidu.android.push.PushServiceManager.a(PushServiceManager.java:300)
        at com.baidu.android.push.PushServiceHelper.a(PushServiceHelper.java:65)
        at com.baidu.video.push.VSPushService.onStartCommand(VSPushService.java:386)
        at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2774)
        at android.app.ActivityThread.access$2000(ActivityThread.java:138)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1539)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:156)
        at android.app.ActivityThread.main(ActivityThread.java:5111)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at android.os.Process$1.run(Process.java:418)
org.json.JSONException: No value for appid
        at org.json.JSONObject.get(JSONObject.java:355)
        at org.json.JSONObject.getString(JSONObject.java:515)
        at cf.b(DataStore.java:58)
        at cd.a(Connection.java:63)
        at cg.run(MessageLooper.java:45)
Sending shut-down message!
Reply View the author
hwp82316
deepin
2016-01-17 00:36
#65
运行/lastore/framework/myarchon/archonrun --silent-launch --load-and-launch-app=/home/hwp82316/下载/cn.ibuka.manga.hd.android
后啥都没有
Reply View the author
linyk
deepin
2016-01-17 04:41
#66
https://bbs.deepin.org/post/36081
成功率还是有的。。。

所有电视类的都连不上网怎么破。。。。
Reply View the author
macaiyun0629
deepin
2016-01-17 05:50
#67
本帖最后由 macaiyun0629 于 2016-1-17 15:24 编辑

终于找到一款可以正常使用的安卓app了,央视网的央视影音平板版。应用下载地址http://app.cntv.cn/appkhdxz/ydb/index.shtml



此应用换台有问题,无法正常换台
Reply View the author
Comments
melodyzou
2016-01-19 21:44
这个先收录了,要再测试看看。
macaiyun0629
deepin
2016-01-17 06:20
#68
凤凰视频HD版可以运行播放,但是不能使用直播功能,app下载地址http://v.ifeng.com/apps/index.shtml
Reply View the author
Comments
melodyzou
2016-01-19 21:55
这个我们先记下来,综合测试下再决定。
macaiyun0629
deepin
2016-01-17 08:13
#69
乐视视频安卓pad完美运行,应用下载地址http://mobile.letv.com/


找了三四个小时,试了几十款软件,今天就找到这了
Reply View the author
Comments
melodyzou
2016-01-19 21:49
这个已收录啦!谢谢!
macaiyun0629
deepin
2016-01-17 08:41
#70
本帖最后由 macaiyun0629 于 2016-1-17 15:32 编辑

布丁视频能运行,但返回有问题,貌似视频播放软件都有返回就出故障的问题;下载地址http://app.shafa.com/apk/budingshipin.html
Reply View the author
Comments
melodyzou
2016-01-19 22:13
谢谢,评估后会收录。返回确实有时候不好使。
macaiyun0629
deepin
2016-01-17 09:31
#71
哔哩哔哩白完美运行,下载地址http://app.shafa.com/apk/bilibilibai.html
Reply View the author
Comments
melodyzou
2016-01-19 21:45
谢谢!这个已收录了。
macaiyun0629
deepin
2016-01-17 10:06
#72
酷狗音乐HD完美支持,下载地址http://app.shafa.com/apk/kugouyinleHD.html
Reply View the author
Comments
melodyzou
2016-01-19 22:13
谢谢,评估后会收录。
macaiyun0629
deepin
2016-01-17 10:09
#73
酷我音乐HD完美支持,下载地址http://app.shafa.com/apk/kuwoyinlebofangqiHD.html
Reply View the author
macaiyun0629
deepin
2016-01-17 10:19
#74
本帖最后由 macaiyun0629 于 2016-1-17 14:02 编辑

百度音乐HD完美支持,下载地址http://app.shafa.com/apk/baiduyinleHD.html

官网下载地址http://music.baidu.com/app/apad
Reply View the author
Comments
melodyzou
2016-01-19 23:53
谢谢!评估测试后会加到商店。
macaiyun0629
deepin
2016-01-17 17:17
#75
本帖最后由 macaiyun0629 于 2016-1-17 09:21 编辑
https://bbs.deepin.org/post/36081
魔力tv 运行 ok 有几个报错。
视频黑白色 咋回事 没声音
下载http://down.znds.com/apk/tv/2014/0607/728.h ...

.使用硬件解码就能看,软件解码没法看
Reply View the author
guanmfei
deepin
2016-01-17 21:33
#76
https://bbs.deepin.org/post/36081
学堂在线的app能运行,但是无法播放视频。app下载地址www.xuetangx.com

觉得这样的应用网页版比app好用得多
Reply View the author
guanmfei
deepin
2016-01-17 21:39
#77
百度贴吧可用,但不能使用麦克风
Reply View the author
feiying
deepin
2016-01-18 21:51
#78
应用名称:信望爱圣经工具
官网下载:http://hb.fhl.net/
乐商店下载:http://www.lenovomm.com/app/11493071.html(不是最新版)
pad版下载:http://www.lenovomm.com/pad/app/16010177.html

https://bbs.deepin.org/user/33301 测试可用,望加入商店。感谢@moonkissme帮忙测试!
Reply View the author
Comments
melodyzou
2016-01-20 00:07
谢谢!我们会加到商店的。
dongshuaishuai
deepin
2016-01-18 22:23
#79
https://bbs.deepin.org/post/36081
百度音乐HD完美支持,下载地址http://app.shafa.com/apk/baiduyinleHD.html

官网下载地址http://music.bai ...

Reply View the author
ideepinos
deepin
2016-01-18 22:42
#80
https://bbs.deepin.org/post/36081
.使用硬件解码就能看,软件解码没法看

魔力TV 我这边都ok 唯一就是没有声音。

http://pan.baidu.com/s/1eQR5xAU
Reply View the author
...4 / 9
To page