How to Clone an Android Studio Project
1) Find and go to `AndroidStudioProjects` directory
2) Copy-Paste needed project and rename project folder (e.g. rename app to app_new)
3) Android Studio -> Close Project
4) Open an existing Android Studio Project -> choose name of the copied and renamed directory (app_new)
5) app -> src -> main -> AndroidManifest.xml -> change package name (something like package="com.example.android.app" to package="com.example.android.app_new" )
6) select folder (any) under java (app -> src -> main -> java) and right-click -> Refactor -> Rename -> Rename Package -> app_new -> Refactor -> Do Refactor -> Sync Now (Sync Now may not be needed)
7) app -> src -> main -> AndroidManifest.xml -> change label of an app (something like android:label="App" to android:label="App New" )
8) Run an App
No comments:
Post a Comment