Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to add .js and .html files to ionic/android studio for android apk deployment

s-qaiser

New Coder
Hello,

I have been struggling for the past two days, trying to convert my .js (interactivity) and .html (CSS and elements) files to an Android app. My code works fine and runs smoothly when it's in my browser, but I am unable to get the two files into Ionic/Visual Studio. I tried putting them in the /src folder and following all the tips of Github's CoPilot, but we ended up going around in circles for hours, and the app just crashes when I try to open it. Specifically, I would get the error: Failed to resolve: com.getcapacitor:capacitor-android:5.0.7.

I've decided to restart building the app. Can anyone help me get these two files into the app so it'll work? I appreciate your assistance, and if you need any extra info, just ask.
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom