![]() ![]() Now that we have patched the APK we can rebuild it to flash it on our device. ![]() Remove line 4564 in res/values/styles.xml.Replace fb_network_security_config in res/values/private.xml and AndroidManifest.xml, with network_security_config.Create the file res/xml/network_security_config.xml with the content:.Delete res/xml/fb_network_security_config.xml.We will have to modify the network_security_config.xml, AndroidManifext.xml and edit/delete a few entries, that prevent the app from rebuilding. Now that we have to contents of the Instagramm APK we can start to modify it so it fitts our usecase. To open the APK, just open the folder where you saved it to in VS code and press CTRL+SHIFT+P, and select APKLab: Open an APK and uncheck -only-main-classes. ![]() Also make sure that the distribution matches the one you use for your emulator. It is important to use this version, as newer versions have restrictions, that will no work for our usecase.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |