Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

14
  • 2
    give exception invocationtarget exception Commented Jun 13, 2013 at 6:54
  • 1
    Well depends where the invocationTargetException gets thrown. Then you should know the class that was changed. Commented Jun 13, 2013 at 12:25
  • 1
    @Rat-a-tat-a-tat Ratatouille ,starting from Android 4.2 the android.permission.CHANGE_CONFIGURATION can only be granted by app signed with perform key. Commented May 5, 2014 at 9:34
  • 3
    I put my app in /system/priv-app to work around the Android 6.0 issue. Details here. Commented Aug 26, 2015 at 2:10
  • 3
    API level 24 onwards, there's possibility to set multiple languages with setLocales Commented Mar 28, 2017 at 19:58