Oh no. That “SimpleLuaExtensions” sample project is certainly *not* deprecated. I’m going to have to flog the person who wrote that. I personally wrote all of the Enterprise sample projects for Android, kept them up to date, and they’re by far the simplest most well documented examples that we’ve got. The “App” template is intended for plugin developers. I’m so sorry for the confusion.
If you want to make your social media a separate Android library and avoid the resource issue, then the solution is to create an “Android library project”. This has a very particular directory structure which would look a lot like the Corona or Facebook Android library folders. If you do it this way, then all you have to do is reference your library project via the “project.properties” file. Then when you build your application project, the Android build system will merge the resource files from all the library projects and the application project into one and generate a single “R.java” file for all projects, avoiding the duplicate resource ID issue.
Google documents how to set up Android library projects here…
https://developer.android.com/tools/projects/index.html#LibraryProjects