Rhomobile的如何编辑Android清单 [英] Rhomobile how to edit the Android Manifest

查看:136
本文介绍了Rhomobile的如何编辑Android清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有困难改变了AndroidManifest.xml文件。

\"C:\\RhoStudio\\ruby\\lib\\ruby\\gems\\1.8\\gems\\rhodes-3.2.2\\platform\\android\\Rhodes\\AndroidManifest.xml\"

我尝试添加以下清单为构建让我将文件保存到SD卡:

 <使用许可权的android:NAME =android.permission.WRITE_EXTERNAL_STORAG​​E/>

我想补充,但后来当我建立,该行确实的不可以出现在输出到bin / TMP文件夹中的Andr​​oidManifest.xml。


解决方案

 的android:
  功能:
    - SD卡

添加以下到build.yml添加的Andr​​oidManifest.xml中上方,让我读/写的SD卡。

I am having difficulty changing the AndroidManifest.xml file.

"C:\RhoStudio\ruby\lib\ruby\gems\1.8\gems\rhodes-3.2.2\platform\android\Rhodes\AndroidManifest.xml"

I am trying to add the following to the manifest for the build to allow me to save files to the SD card:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

I add it but then when I build, the line does not appear in the AndroidManifest.xml that is outputted into the bin/tmp folder.

解决方案

android:
  capabilities:
    - sdcard

Adding the following to the build.yml adds the above the AndroidManifest.xml and allows me to read/write to the SDcard.

这篇关于Rhomobile的如何编辑Android清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆