1<?xml version="1.0"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.Cube" android:versionCode="1" android:versionName="1.0"> 3 4 <!-- Allow this app to read and write files (for use by tracing libraries). --> 5 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 6 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 7 <uses-permission android:name="android.permission.INTERNET"/> 8 9 <!-- This .apk has no Java code itself, so set hasCode to false. --> 10 <application android:label="@string/app_name" android:hasCode="false"> 11 12 <!-- Our activity is the built-in NativeActivity framework class. 13 This will take care of integrating with our NDK code. --> 14 <activity android:name="android.app.NativeActivity" android:label="@string/app_name" android:exported="true"> 15 <!-- Tell NativeActivity the name of or .so --> 16 <meta-data android:name="android.app.lib_name" android:value="native-lib"/> 17 <intent-filter> 18 <action android:name="android.intent.action.MAIN"/> 19 <category android:name="android.intent.category.LAUNCHER"/> 20 </intent-filter> 21 </activity> 22 </application> 23 24</manifest> 25