#Error: Failed when creating instance

1 messages · Page 1 of 1 (latest)

red scroll
#

Hi,
when I test my application in Android device, I get this error when I open the application:
https://pastebin.com/rsy5AXDK

Debugging enabled:
https://pastebin.com/FMZ6qggh

Unity version: 2022.3.33f1
Plugin version: 2.7.1

Best regards,
I'm waiting for news

slow condor
#

Did you enable the feature and did a for e resolve via EDMU?

red scroll
#

I don't understand what I need to do to solve the problem

slow condor
#

Please send us a screenshot of Assets/Plugins/Android folder.

red scroll
slow condor
#

ok, You haven't resolved the dependencies.

red scroll
#

Ok i try to force resolve

red scroll
slow condor
#

Toggle all Android, gradle check marks in unity external tools and re-enable them

#

Sorry, the errors are not related to the plugin, but unity in general.

red scroll
#

I deactivated and activated all the "checks" in External Tools, now if I try to do "Force Resolve" it does nothing :\

red scroll
#

I solved the "Force Resolve" in this way

#

This is now my Android folder

#

But the error continues to exist in the compiled version of Android

slow condor
#

What is your stripping level set in player settings?

red scroll
slow condor
#

engine stripping level

red scroll
slow condor
#

ok, I see this is fine as well.

#

Can you please send me an empty apk?

#

No need to add any scenes. Just an empty apk.

slow condor
#

Do you have this file?

red scroll
#

Yes

slow condor
#

lastly, pls send me a screenshot of Essential Kit settings

red scroll
slow condor
#

below webview feature there is no utilities?

red scroll
slow condor
#

You don't use utilities feature?

red scroll
#

No

#

For now I upload the images from the gallery.
I use this code to do it:

slow condor
#

So, you got the error but nothing specific to functionality issue right?

#

Now I got it. You can ignore the error if you don't use Utilities. This was addressed in 2.7.2

red scroll
slow condor
#

I was thinking you were facing a functionality issue.

red scroll
#

On Android 9, if a user tries to upload an image from the Gallery and first clicks "Do not allow" and then re-clicks the button to upload an image from the gallery, the application crashes.

slow condor
#

You can ignore the Utilities exception for now as its harmless.

red scroll
#

Ok thanks, My colleague is on holiday, as soon as he returns to work I will ask for the logs, I will send them to this chat.

Thanks for the support ❤️

slow condor
#

Sorry for the trouble. The harmless errors are removed/fixed in 2.7.2

#

Btw, if you are interested, V3 Media services supports multiple content saving, selection and capturing with better options.

#

like album name, file name etc.

red scroll
#

Where do I find v3 services?

slow condor
#

It's currently in beta.

red scroll
#

I apologize to you for wasting your time 😦

slow condor
#

Are you looking for any features beyond whats provided in V2 for Media Services?

red scroll
#

Not currently, but probably in the future yes, because we are still in the development phase