Rhomobile how to edit the Android Manifest

混江龙づ霸主 提交于 2019-12-11 10:58:44

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/13243597/rhomobile-how-to-edit-the-android-manifest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!