close
1. 相信很多人在看AndroidManifest.xml內會有個疑問
就是裡面常常會有" . "這個符號出現
2. 在官網http://developer.android.com/guide/topics/manifest/activity-element.html
android:name的部分有提到, " . " 指的就是package的=後面的字串
3. 像這個例子就是指com.example.test這字串
4. 所以原本的
android:name=".MainActivity"
指的就是
android:name="com.example.test.MainActivity"
文章標籤
全站熱搜