日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

android配置文件说明

發布時間:2025/4/16 编程问答 18 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android配置文件说明 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 4 android:versionCode="1"表示該工程所生成apk的版本號,1開始2,3、。。。。 5 android:versionName="1.0"表示版本的一個名稱,1.0,2.0.。。 6 android:installLocation="auto"自動尋找安裝的地方,rom或sdcard 7 internalOnly 僅安裝在ROM上 8 preferExternal 會直接安裝在sdcard上 9 --> 10 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 11 package="com.example.first" 12 android:versionCode="1" 13 android:versionName="1.0" 14 android:installLocation="auto" 15 > 16 17 <uses-sdk 18 android:minSdkVersion="8" 19 android:targetSdkVersion="21" /> 20 <!-- 21 android:icon="@drawable/ic_launcher"表示我們應用程序的一個圖片,logo圖片 22 android:label="@string/app_name"表示應用的工程的文字說明 23 24 --> 25 <application 26 android:allowBackup="true" 27 android:icon="@drawable/ic_launcher" 28 android:label="@string/app_name" 29 android:theme="@style/AppTheme" > 30 <!-- 31 android:name表示整個應用程序的主程序的名稱 32 intent-filter 意圖過濾器:用來過濾用戶的一些動作和操作 33 android.intent.action.MAIN 表示當前的程序是整個工程的入口程序 34 category android:name 表示決定應用程序是否在程序列表中顯示 35 --> 36 <activity 37 android:name=".MainActivity" 38 android:label="@string/app_name" > 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN" /> 41 42 <category android:name="android.intent.category.LAUNCHER" /> 43 </intent-filter> 44 </activity> 45 <activity 46 android:name=".SecondActivity" 47 android:label="@string/app_name" > 48 > 49 50 </activity> 51 </application> 52 <!-- 添加用戶的授權,授權訪問網絡等 --> 53 <uses-permission android:name=""/> 54 </manifest>

?

轉載于:https://www.cnblogs.com/oldcownotGiveup/p/5398090.html

總結

以上是生活随笔為你收集整理的android配置文件说明的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。