Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用库项目的 android 项目。如何将库项目中的活动添加到AndroidMAnifest.xmlandroid 项目中。
AndroidMAnifest.xml
访问库项目的活动是在Android 项目中声明Activity其包名,如下所示:AndroidManifest.xml
Activity
AndroidManifest.xml
<activity android:name="com.example.LibraryProjectActivity" android:screenOrientation="portrait"></activity>
现在您可以访问库项目的Activity.