Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using plugin #6

Open
dbrova15 opened this issue May 5, 2020 · 18 comments
Open

Problem using plugin #6

dbrova15 opened this issue May 5, 2020 · 18 comments
Labels
question Further information is requested

Comments

@dbrova15
Copy link

dbrova15 commented May 5, 2020

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 Shin-NiL added the question Further information is requested label May 5, 2020
@Shin-NiL
Copy link
Owner

Shin-NiL commented May 5, 2020

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
Copy link
Author

dbrova15 commented May 5, 2020

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
Copy link
Owner

Shin-NiL commented May 5, 2020

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
Copy link
Author

dbrova15 commented May 5, 2020

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
Copy link
Owner

Shin-NiL commented May 6, 2020

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
Copy link
Author

dbrova15 commented May 6, 2020

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

@Shin-NiL
Copy link
Owner

Shin-NiL commented May 6, 2020

It should be true.

@dbrova15
Copy link
Author

dbrova15 commented May 6, 2020

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
Copy link

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
Copy link
Owner

@makthemax could you post here the logcat output?

@makthemax
Copy link

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
Copy link
Owner

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

@makthemax
Copy link

makthemax commented Jul 13, 2020 via email

@makthemax
Copy link

makthemax commented Jul 13, 2020 via email

@Shin-NiL
Copy link
Owner

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

@makthemax
Copy link

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
Copy link

Hello, which shall i use for Godot 3.2.1?

@Shin-NiL
Copy link
Owner

@CompassDevs v1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants