[android-developers] Re: apk/libs tree structure
the lib folder must be in the format /lib/abi/*.so This is because, at install time, only the *.so for the supported abi of the given device are extracted from the apk and put in the app install folder where they can be loaded from. On Wed, Aug 17, 2011 at 7:00 AM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: Hi, I'm porting QGIS to android and the code (native all crosscompiled with ndk) should dinamically load .so from a specific folder (lib/plugins). is there a way to preserve such a structure in the lib folder? If i just pur my plugins folder into libs and run ant debug the apk has only the top level shared objects. If I generate with ant release, then add the files to the apk, sign, zipalign and install, the lib/plugin folder still does not exist. any suggestions? (I'd rather not change the code since it is a big qt based project and less hacks are better) ciao Marco -- You received this message because you are subscribed to the Google Groups android-ndk group. To post to this group, send email to android-...@googlegroups.com. To unsubscribe from this group, send email to android-ndk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en. -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: apk/libs tree structure
Hi Xavier, all, On 08/17/2011 08:53 PM, Xavier Ducrohet wrote: the lib folder must be in the format /lib/abi/*.so My issue would be is it possible to have /lib/abi/MyCustom/Path/*.so instead of /lib/abi/*.so This is because, at install time, only the *.so for the supported abi of the given device are extracted from the apk and put in the app install folder where they can be loaded from. thanks a lot MArco On Wed, Aug 17, 2011 at 7:00 AM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: Hi, I'm porting QGIS to android and the code (native all crosscompiled with ndk) should dinamically load .so from a specific folder (lib/plugins). is there a way to preserve such a structure in the lib folder? If i just pur my plugins folder into libs and run ant debug the apk has only the top level shared objects. If I generate with ant release, then add the files to the apk, sign, zipalign and install, the lib/plugin folder still does not exist. any suggestions? (I'd rather not change the code since it is a big qt based project and less hacks are better) ciao Marco -- You received this message because you are subscribed to the Google Groups android-ndk group. To post to this group, send email to android-...@googlegroups.com. To unsubscribe from this group, send email to android-ndk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en