Thank you, you saved my day dude Tips: 1 - Run as admin 2 - use "./gradlew clean" and "./gradlew assembleRelease" if gradlew clean or gradlew assembleRelease not working (2024 October )
I think you are asking me if u can run this command even if u don't have Android studio, I think yes but u got to have jdk I think. I have everything setup already in my system.
> Task :app:mergeReleaseResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable > Android resource compilation failed ERROR:C:\Users\81pc\Documents\GitHub\care4uapp\android\app\build\generated es\createBundleReleaseJsAndAssets\drawable-mdpi\src_assets_images_qrcode_scanner_icon.png: AAPT: error: file failed to compile.
Hi, I generated apk using gradlew assembleRelease but if i drag that apk file and tried to launch it in my emulator it is showing like dropped content didnot have any files
@@monisankarnathsir, it is my last work remaining to complete my app. Will you guide me further to complete my apk build? I'm going to upload this app on the Play Store.
i have this error : "BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64" can you help me fix it
It's not working. showing below error. gradle : The term 'gradle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + gradle assembleRelease + ~~~~~~ + CategoryInfo : ObjectNotFound: (gradle:String) [], CommandNotFo undException + FullyQualifiedErrorId : CommandNotFoundException
If you are getting error you can try running cmd as a administrator . It solved my issue.
Thanku 👍
Thanks 🙏❤
Thank you, you saved my day dude
Tips:
1 - Run as admin
2 - use "./gradlew clean" and
"./gradlew assembleRelease" if gradlew clean or gradlew assembleRelease not working
(2024 October )
what to run as admin
@@nishadumap458 run cmd as administrator and navigate the jdk bin
i wish i saw your comment earlier.
its / not \
@@mtrvansh yeah, thanks for pointing out
Hey I have an error while making the private signing key using key tool
Java file io not foundexception my upload key keysstore ( Acces denied)
open cmd as a administrator
can i follow this instruction without use android studio, be cause i can not the android folder?
I think you are asking me if u can run this command even if u don't have Android studio, I think yes but u got to have jdk I think. I have everything setup already in my system.
@@monisankarnath sure
> Task :app:mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> Android resource compilation failed
ERROR:C:\Users\81pc\Documents\GitHub\care4uapp\android\app\build\generated
es\createBundleReleaseJsAndAssets\drawable-mdpi\src_assets_images_qrcode_scanner_icon.png: AAPT: error: file failed to compile.
It seems like this is happening because of an asset, there are some necessary steps needs to be followed for assets, please check the docs
@@monisankarnath i solve that thnx
how@@74n3r
@@74n3r i also got same error. How did you solve it?
@@74n3r hi could you please guide how did you solve this issue
Hi, I generated apk using gradlew assembleRelease but if i drag that apk file and tried to launch it in my emulator it is showing like dropped content didnot have any files
Sir i have 1 problem with apk.
I installed the apk in my device.
But my app gets closed after clicking on menu bar.
Please help me with my problem.
Please check the build in local run first. There might have been some errors
@@monisankarnathok sir ! Thanks for your advice.
@@monisankarnathsir, it is my last work remaining to complete my app. Will you guide me further to complete my apk build? I'm going to upload this app on the Play Store.
@@chaitanyadharpale1407 you need some more setup done before uploading it to play store. Please follow the documentation or any blogs.
@@monisankarnath ok si 👍r. Thanks
In my Case ".\gradlew assembleRelease" worked.
bro what if i already make a build and then i updated some code and i want to make new build ?
gradlew clean
gradlew assemblerelease
Thank you my friend! very helpful
Glad to be helpful my friend. Thank you for subscribing😃
So uuh im using windows and the gradlew not found
i build app and app installed in phone but backend is not run in the app
did you get it now?
No @@vivekrk5946
Thank you Bro your video is great help
thanks bro. Glad you like them
i cannot find a android folder in ny RN project
Maybe cause you are using expo instead of "react native cli" but still you can create android build for your app using expo as welll😊
i have this error : "BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64" can you help me fix it
Can you please check your java/jdk version and if it is supported by your gradle version
Amazingggg, thank you!
Glad to be helpful. Thank you for subscribing😃
I have no java folder
Thank you, bro❤
i haven't android folder
how to create debug APK and how to debug
It's not working. showing below error.
gradle : The term 'gradle' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ gradle assembleRelease
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (gradle:String) [], CommandNotFo
undException
+ FullyQualifiedErrorId : CommandNotFoundException
try using ./gradlew
Use "./gradlew clean" instead of "gradlew clean"
@@inzamam1320 This didn't work for me. I now says './gradlew' is not recognized as the name of a cmdlet. Any soultion?
@@christopherquarshie8258 first cd into android folder then run the command it will work
Please,next time leave a link
Thanks Bhai
Thank you!
Thank you!!!
ok all good but ap
i's not working what is this issue please tell me
API
@@RevUpMotivation-RUM can you please check if you have given all the permissions
thank Yoou
gonna dislike if u don't reply. it says "gradlew" command not found. my terminal says.
Lol bro. Are you using mac?
@@monisankarnath linux. "./gradlew clean" worked ig
try this command = .\gradlew clean
@@lokeshkaushik1812 I think it's ./gradlew clean