Shin-NiL / Godot-Android-Share-Plugin

Android share plugin for Godot Game Engine 3.2 or higher
MIT License
52 stars 16 forks source link

Problem using plugin #6

Open dbrova15 opened 4 years ago

dbrova15 commented 4 years ago

I do not understand how to add a plugin. I don’t understand how to use the archive you need to download. In my project, in the android directory, there is no share-plugin directory.

Shin-NiL commented 4 years ago

The file you need to download is the zip file in the releases tab (https://github.com/Shin-NiL/Godot-Android-Share-Plugin/archive/v1.0.0.zip). If you unzip this file there will be a share-plugin directory.

dbrova15 commented 4 years ago

Sorry, my english is bad. Perhaps I do not understand the sentence "drop the share-plugin directory (from the zip package) inside the res://android/ directory on your Godot project". I translate it as: delete the share-plugin directory in res: //android/ directory in my project. Could you explain this point to me?

Shin-NiL commented 4 years ago

I'm not too good with english also ;P The ideia is to copy the share-plugin directory from the downloaded zip and paste it inside the res://android/ directory.

dbrova15 commented 4 years ago

I copied the share-plugin directory to the res://android/directory. I compiled the apk file from the demo project from the archive but the application crashes at startup.

Shin-NiL commented 4 years ago

Are you able to run this repository demo project?

You can use the adb tool from Android SDK to help with debugging: adb logcat -s godot

dbrova15 commented 4 years ago

When building a project, should the "use custom build" setting be true or false?

Shin-NiL commented 4 years ago

It should be true.

dbrova15 commented 4 years ago

Then I have another problem. Error building application. I described it on the forum at the link: https://godotengine.org/qa/69798/custom-build-android-failed

makthemax commented 4 years ago

Hi ShinNil , really appreciate your contributions towards the Godot world where resources are scarce. So I wanted to integrate to my game and I press on the button and the share screen dosnt pop up. I used your demo to build an apk, there is still no pop-up. Tried on samsung s9 and oneplus 3t . Please let me know if I am missing something.

Shin-NiL commented 4 years ago

@makthemax could you post here the logcat output?

makthemax commented 4 years ago

logcat.txt

here you go Sir, took me time because I am very new to Android system, I started with godot. Please let me know if this would do it.

Shin-NiL commented 4 years ago

@makthemax try to use the command adb logcat -s godot to filter the outuput

makthemax commented 4 years ago

Hey Shin-NiL/Godot-Android-Share-Plugin ,

Im unable to open the issues page on godot , so I am attaching it here, the '-s godot' doesnt have any output and the godot share plugin app closes saying failed to attach the debugger. While I made sure I exported the debugger in the app , while exporting in godot. Is it possible I could possibly chat with you somewhere ?

Thanks Manas Kumar +1 519 722 8143

On Sun, Jul 12, 2020 at 10:10 AM Shin-NiL notifications@github.com wrote:

@makthemax https://github.com/makthemax try to use the command adb logcat -s godot to filter the outuput

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Shin-NiL/Godot-Android-Share-Plugin/issues/6#issuecomment-657226932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF376SDCHLYBXJ6BWLXVWWTR3G73TANCNFSM4MZNYEBA .

--------- beginning of system --------- beginning of main

makthemax commented 4 years ago

I figured out the waiting for debugger, here are the godot logs . I dont thing they are much help full. Manas Kumar +1 519 722 8143

On Mon, Jul 13, 2020 at 4:07 AM makthemax makthemax@gmail.com wrote:

Hey Shin-NiL/Godot-Android-Share-Plugin ,

Im unable to open the issues page on godot , so I am attaching it here, the '-s godot' doesnt have any output and the godot share plugin app closes saying failed to attach the debugger. While I made sure I exported the debugger in the app , while exporting in godot. Is it possible I could possibly chat with you somewhere ?

Thanks Manas Kumar +1 519 722 8143

On Sun, Jul 12, 2020 at 10:10 AM Shin-NiL notifications@github.com wrote:

@makthemax https://github.com/makthemax try to use the command adb logcat -s godot to filter the outuput

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Shin-NiL/Godot-Android-Share-Plugin/issues/6#issuecomment-657226932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF376SDCHLYBXJ6BWLXVWWTR3G73TANCNFSM4MZNYEBA .

--------- beginning of system --------- beginning of main 07-13 04:29:32.396 26239 29548 I godot : Godot Engine v3.2.beta3.official - https://godotengine.org 07-13 04:29:32.418 26239 29548 I godot : OpenGL ES 2.0 Renderer: Adreno (TM) 530 07-13 04:29:32.447 26239 29548 I godot :
07-13 04:31:17.037 29638 29690 I godot : Godot Engine v3.2.beta3.official - https://godotengine.org 07-13 04:31:17.047 29638 29690 I godot : OpenGL ES 2.0 Renderer: Adreno (TM) 530 07-13 04:31:17.061 29638 29690 I godot :
07-13 04:42:20.153 29943 30702 I godot : Godot Engine v3.2.beta3.official - https://godotengine.org 07-13 04:42:20.170 29943 30702 I godot : OpenGL ES 3.0 Renderer: Adreno (TM) 530 07-13 04:42:20.202 29943 30702 I godot :

Shin-NiL commented 4 years ago

@makthemax it seems like the plugin was not loaded. Please redo all the steps described in the readme file.

makthemax commented 4 years ago

I figured out the problem , it was actually that I was using a higher version build. Turns out if I use the 3.2.2 , it works fine. Thank you so much.

CompassDevs commented 3 years ago

Hello, which shall i use for Godot 3.2.1?

Shin-NiL commented 3 years ago

@CompassDevs v1.0.0