#mohit_code

1 messages ยท Page 1 of 1 (latest)

sick novaBOT
#

๐Ÿ‘‹ 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.

golden oakBOT
slate violet
#

๐Ÿ‘‹ happy to help

sturdy parcel
#

Hi

dry marsh
#

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 ?

sturdy parcel
#

debug

dry marsh
#

Is there any error message in your logcat ?

sturdy parcel
#

If i install new app and make the build it will work

#

No any error message will showing even in build as will

dry marsh
#

No there must be an error message, if the app crashes

sturdy parcel
#

Where i can check

dry marsh
#

Try connect your device using a cable or over wifi and then filter the logcat log lines using your package name

sturdy parcel
#

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

dry marsh
#

This is a warning

#

Can you please share the complete stacktrace ?

sturdy parcel
#

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: The punycode module 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)

dry marsh
#

No this is a javascript stacktrace

#

you ned to open Android Studio

#

Connect your device and open logcat

sturdy parcel
#

But i am using Visual Studio

dry marsh
#

In order to debug Android issue, you need to use Android Studio

dry marsh
#

in order to see the error message behind your app crash on that device

sturdy parcel
#

ok So how can i open the Project in Android Studio same like visual studio

dry marsh
#

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

#

You can ask in the Android Community how you can achive this step by step

sturdy parcel
#

ok Wait i check

golden oakBOT
sturdy parcel
#

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

dapper moss
#

not sure how, there's not much information in that log line

sturdy parcel
#

Yes There is nothing

#

How can i solve that

dapper moss
#

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?

sturdy parcel
#

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 ?

dapper moss
#

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.

dapper moss
sturdy parcel
#

ok Thanks