#mohit_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1215273995725705268
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
Hi
and install that into the android device after installation the app will be crashed Let me know what is the reason
What apk version did you try to install ? debug or release ?
debug
Is there any error message in your logcat ?
If i install new app and make the build it will work
No any error message will showing even in build as will
No there must be an error message, if the app crashes
Where i can check
Try connect your device using a cable or over wifi and then filter the logcat log lines using your package name
So is this error or what
(node:12692) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
When i start the app showing this message
How please let me know
node --trace-deprecation
Welcome to Node.js v21.6.1.
Type ".help" for more information.
punycode
{
version: '2.1.0',
ucs2: { decode: [Function: ucs2decode], encode: [Function: ucs2encode] },
decode: [Function: decode],
encode: [Function: encode],
toASCII: [Function: toASCII],
toUnicode: [Function: toUnicode]
}
(node:23280) [DEP0040] DeprecationWarning: Thepunycodemodule is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:397:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:333:10)
at loadBuiltinModule (node:internal/modules/helpers:101:7)
at Module._load (node:internal/modules/cjs/loader:1006:17)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at get (node:internal/modules/helpers:265:33)
at REPL2:1:1
at ContextifyScript.runInThisContext (node:vm:121:12)
at REPLServer.defaultEval (node:repl:598:22)
No this is a javascript stacktrace
you ned to open Android Studio
Connect your device and open logcat
But i am using Visual Studio
In order to debug Android issue, you need to use Android Studio
then filter by your package name
in order to see the error message behind your app crash on that device
ok So how can i open the Project in Android Studio same like visual studio
No you don't need to open the project in Android Studio
You need just to debug your applciation from Android Studio
You need to open Android Studio
Connect your android device
and then check the logs using logcat:
https://developer.android.com/studio/debug/logcat
You can ask in the Android Community how you can achive this step by step
ok Wait i check
Take too much time to connect
Here is the lobcat
2024-03-07 17:06:26.839 3021-3413 SuggestedItemsFacade com.sec.android.app.launcher I DPS items : my-app, ComponentInfo{com.mohitsth4.myapp/com.mohitsth4.myapp.MainActivity}
Can you help how can i solve this
not sure how, there's not much information in that log line
I'm not sure, I don't understand at all the issue you're facing.
is there a cleeaner summary you could give?
What is eas build ? I've never heard of that?
what is a aab file?
when i create the build using eas build -p android it will give us the .aab file then we convert the .apk then install into the android phone
Can i send you APK you can check that ?
Is this possible ?
I mentioned I do not know what eas build is or what an aab file is so I can't see how I could answer this.
not really, this is a quick anonymous Discord thread, maybe open a support ticet at https://support.stripe.com/?contact=true if needed?
ok Thanks