문제

I have an android project, that uses library project. How to add the activity from the Library project to the AndroidMAnifest.xml of the android project.

도움이 되었습니까?

해결책

Accessing the library project's activity is declaring the Activity with its package name in AndroidManifest.xml of Android project as below:

 <activity android:name="com.example.LibraryProjectActivity" android:screenOrientation="portrait"></activity>

Now you can access the library project's Activity.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top