HemanthJabalpuri / AndroidExplorer

Build android app from command line without Gradle/Ant.
36 stars 8 forks source link

Very Helpful, Any method to integrate firebase library and to use its json file in apk generation #2

Open rupeshkumar22 opened 4 years ago

rupeshkumar22 commented 4 years ago

I personally tried and its really helpful, If anyone can provide a method to use Firebase library and to use its config.json file in App generation, It will be very helpful. Thanks for the help Hemanth!

HemanthJabalpuri commented 3 years ago

I personally tried and its really helpful, If anyone can provide a method to use Firebase library and to use its config.json file in App generation, It will be very helpful. Thanks for the help Hemanth!

Hi, @rupesh-kumar-lpu, I am also quoting the message, you send me on XDA.

Hi Hemanth, I found your GitHub repository(Android Explorer) really helpful, It explains android APK building in a great way. That issue created by you for some similar projects is also helpful. I personally tried and everything works great, I created a new issue some time ago about firebase include in the build process. Now, I would like to ask you something about including proguard and multidex in build script. I have researched a bit and found out that I need to include MainDexList.txt during dex creation by dx.bat (as I have exceeded the bytes limit - Dex Error) which creates multiple classes.dex to include in apk. I am not getting how to create MainDexList.txt. To test multidex in dx.bat, I have dumped all the classes names from apk build by gradle and used those class names in MainDexList.txt and it's working fine. But there must be some way that Gradle use to create MainDexList.txt which includes the name of Primary classes. Thanks for sharing such an awesome project on StackOverflow.

Firstly, I don't know Android App Development. I didn't created a single app of my own. What I am trying to do is, with the process of building it in command line, we can able to build them in Android too with the help of apps like Termux with https://github.com/SDRausty/buildAPKs.

So, I know only how to build simple apps that have less dependencies like AndroidExplorer, so that it become less complex while building it.

I will try to find other options when I learn Android Development.

Thanks

rupeshkumar22 commented 3 years ago

Thanks for your response, I am also working on some custom android apps running these build tools. The Termux App Build repository you have mentioned is helpful.