Skip to content

Instantly share code, notes, and snippets.

@T2hhbmEK
Last active December 5, 2016 09:58
Show Gist options
  • Save T2hhbmEK/3ca1250d549aa4450f2031ce3910a698 to your computer and use it in GitHub Desktop.
Save T2hhbmEK/3ca1250d549aa4450f2031ce3910a698 to your computer and use it in GitHub Desktop.
Iconpack android studio project configuration

Get the original code.

  • folk the code repo.
  • git clone the project.

Install adb interface driver

  • connect the xperia device.
  • download and extract the driver from sony devlop website.
  • install the driver from device manager.
  • grant adb access in your device.

Test the code.

  • Open the project in Android Studio.
  • Waiting for the Grade building, and then download the missing sdk.
  • When Grade build finished successfully, build and run the project to check it works.
  • After build finished, the app will automaticly open in your device. Make sure it works fine.

Create a new package.

  • Open the project tab.
  • Change to project view.
  • Navigate to "IconShowcase-Dashboard/sample/src/main/java/".
  • Right click on "java" folder and new a package.
  • Name the package name as you like. Here I use "com.crucifyml.iconpack.xperia" for example.
  • Drag what's in the other package folder all to the one you just have newed. Android Studio will modify these files for you automaticly.
  • Delete the ohter package folder with original package name, "jahirfiquitiva.apps.iconshowcase.sampleip", if it still exists.

Modifly all the files with the new package name.

  • Here are the files you need to modify.
    • IconShowcase-Dashboard/sample/src/main/AndroidManifest.xml
    • IconShowcase-Dashboard/sample/build.gradle
  • Replace all the old package name with the new package name in these files.

Recompile the project to make sure it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment