-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error Compiling Android : processDebugGoogleServices #10
Comments
You need GodotSQL from github.com/FrogSquare/GodotSQL
…On Fri, Feb 15, 2019, 12:29 PM NovLe ***@***.***> wrote:
Godot Version: latest
ERROR:
Task :compileDebugJavaWithJavac FAILED
{}/godot/modules/GodotGoogleService/frogutils/Utils.java:67: error: cannot
find symbol
return KeyValueStorage.getValue(p_key);
^
symbol: variable KeyValueStorage
location: class Utils
{}/godot/modules/GodotGoogleService/frogutils/Utils.java:71: error: cannot
find symbol
KeyValueStorage.setValue(p_key, p_value);
^
symbol: variable KeyValueStorage
location: class Utils
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
STEPS:
1/ Download and copy to godot/modules/ and modifile config.py
2/ Download google-services.json as this tutorial (url #5
<#5>), and copy to
godot/platform/android/java/
3/ Recompile
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AJp7PtBb-7bCF8bSU4T_zRmL2htXLjWJks5vNlrMgaJpZM4a9DqJ>
.
|
Hi, can I ask the question out of this scope?
1/ I haven't seen modules config tutorial in 2/ I see on 3/ Config
} Thank you very much :) |
By default if you add To include those into your project include the following into your engine.cfg
you don't need to add |
Hi, var _dict = Dictionary() But the logcat's output error is :
Anything wrong with my code? |
The problem is you didn't export the godot template properly, follow these
steps
http://docs.godotengine.org/en/3.0/getting_started/workflow/export/exporting_for_android.html
…On Mon, Feb 18, 2019, 12:07 AM NovLe ***@***.***> wrote:
Hi,
I add Admob module, then writing example:
var _dict = Dictionary()
var gdads
var AdMob
func _ready():
......._dict["BannerAd"] = false
......._dict["InterstitialAd"] = false
......._dict["RewardedVideoAd"] = false
......._dict["BannerGravity"] = "BOTTOM" # or TOP
......._dict["BannerAdId"] = "ca-app-pub-3601047893261077/1072580737"
......._dict["InterstitialAdId"] = "ca-app-pub-3601047893261077/1974598866"
......._dict["RewardedVideoAdId"] =
"ca-app-pub-3940256099942544/5224354917"
.......if (Engine.has_singleton("GodotAds")):
..............print ("HAII Engine.has_singleton GODOTADS")
..............gdads = Engine.get_singleton("GodotAds")
..............gdads.init(get_instance_id())
..............if (Engine.has_singleton("AdMob")):
............................print ("HAII Engine.has_singleton GODOTADS")
............................AdMob = Engine.get_singleton("AdMob")
............................AdMob.init(_dict, get_instance_id())
But the logcat's output error is :
02-18 01:26:55.106 3881 20188 I ActivityManager: START u0
{act=android.intent.action.MAIN typ=null flg=0x10200000
cmp=ComponentInfo{com.pafugamestudio.colorzmatching/org.godotengine.godot.Godot}}
from uid 10265 on display 0
02-18 01:26:55.117 3881 20188 D ActivityManager: computeStackFocus: New
stack r=ActivityRecord{4cb6575d0 u0
com.pafugamestudio.colorzmatching/org.godotengine.godot.Godot t-1} stackId=1
02-18 01:26:55.133 3881 20188 D ActivityManager:
resumeTopActivityInnerLocked() : #1
<#1>
prevTask=TaskRecord{5f9e3f1d0 #29395 A=com.pafugamestudio.colorzmatching
U=0 StackId=1 sz=1} next=ActivityRecord{4cb6575d0 u0
com.pafugamestudio.colorzmatching/org.godotengine.godot.Godot t29395}
mFocusedStack=ActivityStack{d35214bd0 stackId=1, 16 tasks}
02-18 01:26:55.166 3881 5272 D ActivityManager:
resumeTopActivityInnerLocked() : #1
<#1>
prevTask=TaskRecord{f92be86d0 #27756
A=com.teslacoilsw.launcher.NovaLauncher U=0 StackId=0 sz=1}
next=ActivityRecord{4cb6575d0 u0
com.pafugamestudio.colorzmatching/org.godotengine.godot.Godot t29395}
mFocusedStack=ActivityStack{d35214bd0 stackId=1, 16 tasks}
02-18 01:26:55.190 3881 5272 I ActivityManager: Start proc
15725:com.pafugamestudio.colorzmatching/u0a1200 for activity
com.pafugamestudio.colorzmatching/org.godotengine.godot.Godot
02-18 01:26:55.422 3881 4233 D MdnieScenarioControlService: packageName :
com.pafugamestudio.colorzmatching className : org.godotengine.godot.Godot
02-18 01:26:55.443 15725 15725 E AndroidRuntime:
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[DexPathList[[zip file
"/data/app/com.pafugamestudio.colorzmatching-1/base.apk"],nativeLibraryDirectories=[/data/app/com.pafugamestudio.colorzmatching-1/lib/arm64,
/system/lib64, /vendor/lib64]]] couldn't find "libgodot_android.so"
02-18 01:26:55.443 15725 15725 E AndroidRuntime: at
org.godotengine.godot.GodotLib.(GodotLib.java:40)
02-18 01:26:55.443 15725 15725 E AndroidRuntime: at
org.godotengine.godot.Godot.initializeGodot(Godot.java:407)
02-18 01:26:55.443 15725 15725 E AndroidRuntime: at
org.godotengine.godot.Godot.onCreate(Godot.java:571)
Anything wrong with my code?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJp7Poqiy07lLAxLzlhhcEgDIL-IJw1oks5vOaF0gaJpZM4a9DqJ>
.
|
I am not sure about that. When I comment this source: func _ready():
It's running normally.
And my full Google Play Service Error log after commenting Admob
Could you upload example in your source? |
This line shows there is no godot library in the apk file
02-18 01:26:55.443 15725 15725 E AndroidRuntime:
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[DexPathList[[zip file
"/data/app/com.pafugamestudio.colorzmatching-1/base.apk"],
nativeLibraryDirectories=[/data/app/com.pafugamestudio.colorzmatching-1/lib/arm64,
/system/lib64, /vendor/lib64]]] couldn't find "libgodot_android.so"
02-18 01:26:55.443 15725 15725 E AndroidRuntime: at org.godotengine.godot.
GodotLib.(GodotLib.java:40)
…On Mon, Feb 18, 2019, 9:09 AM NovLe ***@***.***> wrote:
The problem is you didn't export the godot template properly, follow these
steps
http://docs.godotengine.org/en/3.0/getting_started/workflow/export/exporting_for_android.html
I am not sure about that. When I comment this source:
func _ready():
......._dict["BannerAd"] = false
......._dict["InterstitialAd"] = false
......._dict["RewardedVideoAd"] = false
......._dict["BannerGravity"] = "BOTTOM" # or TOP
......._dict["BannerAdId"] = "ca-app-pub-3601047893261077/1072580737"
......._dict["InterstitialAdId"] = "ca-app-pub-3601047893261077/1974598866"
......._dict["RewardedVideoAdId"] =
"ca-app-pub-3940256099942544/5224354917"
"""
.......if (Engine.has_singleton("GodotAds")):
..............print ("HAII Engine.has_singleton GODOTADS")
..............gdads = Engine.get_singleton("GodotAds")
..............gdads.init(get_instance_id())
..............if (Engine.has_singleton("AdMob")):
............................print ("HAII Engine.has_singleton GODOTADS")
............................AdMob = Engine.get_singleton("AdMob")
............................AdMob.init(_dict, get_instance_id())
"""
It's running normally.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJp7PnN5oGSvKiBSH5y0hQeY2m21TC-Iks5vOiCMgaJpZM4a9DqJ>
.
|
Godot Version: latest
ERROR:
STEPS:
1/ Download and copy to
godot/modules/
and modifileconfig.py
2/ Download
google-services.json
as this tutorial (url #5), and copy togodot/platform/android/java/
3/ Recompile
The text was updated successfully, but these errors were encountered: