I read a tutorial from Google site there is written that the old way of using stand alone admob SDK is now deprecated, and we have to use the new way by using Google Play Services lib. I import into Eclipse and then add Google Play Services lib into my app "hello world" as a sample, but when I run the project it loads for 1 minute and then it doesn't run and it shows an error:
Unable to execute Java heap space error
Can any one tell me that how to put an ads into an app?
Related
I have created an application using TWA (com.github.GoogleChrome: custom-tabs-client).
But when publishing Google shows me an optimization error message and suggests to optimize using the Android App Bundles.
After reading a lot of information in Google, I was able to add the Dynamic Feature Module and enable minification. As a result, the apk was reduced to 700kb from 2mb, but Google still does not accept it.
Tell me please how to configure the assembly so that Google could approve the application?
When building the application, you should select the assembly through the Android App Bundles
After assembly, you need to upload aab file instead of apk in google play
solution
I try to create a Google App Engine project in Intellij 2016.3 based on this tutorial. The described "Google App Engine" plugin does not exist. I used the "Google Cloud Tools" instead. I enabled it, downloaded the actual Cloud SDK and added it to the App Engine under "Build, Execution, Deployment".
When I try to create an App Engine project as described in the tutorial, I should add under "Additional Libraries and Frameworks" the Google App Engine but this selection is not available. The project created without it is a standard Java project with no relation to the App Engine.
What do I have to do to create a Google App Engine project in Intellij?
Ok, the answer is already in the comment from Dan Comilescu above. I found it independently after exchanging almost 10 emails with Jetbrains. They first told me that Google App Engine is included by default into Intellij. Therefore everything should just work as described. Only after checking the logs they became aware that the problem is that it is only included in the Ultimate edition of Intellij. The Community edition does not have it and therefore can not use it! I urged them to put that on top of their tutorial page and meanwhile they have added it.
My project working perfect but i need map implementation and I add google play service library. After that whenever i run project my GC stopped working and eclipsed hanged. I closed eclipse and i removed google play service library and now my project working fine.
This strange but it's really happening. I also update my google play service library. But updated library also not working.
Two error dialog I am getting when try to run my project
I tried it approx 3 times by removing and adding library but same problem.
EDIT : I also try this library with my previous map sample project but now its also not working.
I am trying to create an SDK where I need the Google Advertiser ID. As per the instructions given in this link I attached the code in one of my .java files. Now when I tried to include the jar file into a project, it is throwing an error
java.lang.VerifyError: com/.....
Could not find method com.google.android.gms.ads.identifier.AdvertisingIdClient$Info.getId, referenced from method com/../getIdThread
Can someone help me with this?
Note: Google Play services library and jar file are added to my SDK.
As per the documentation:
The advertising ID APIs are supported in Google Play services 4.0+
So you need to first make sure that you have integrated Google Play Services support correctly in your app. Then you need to verify, at runtime, that the user has the latest/necessary Google Play Services installed on his device, prioir to using a Google Play Services feature.
Here is how to do both things, from my asnwer on a similar thread:
java.lang.NoClassDefFoundError: com.google.android.gms.ads.AdView
Currently I am using Eclipse and I am trying to implement a Python Backend/API for an Android App on Google App Engine.
I see you can generate an App Engine Backend using Google Eclipse Plugins but from I see it can only be generated in Java. Is there a way to generate an App Engine Backend in Python?
Would it be better to create a Python App Engine Project and define all the API associated with the App in that project and just make calls through another project that houses the app itself?'
Just looking for some clarification as to how the best way to organize and implement this type of project.
The eclipse plugin is Java only. However you can use your favorite IDE to work with app engine and it works really fine. If you do like eclipse, add the app engine libraries to your project. And create a run configuration as follows:
${project_loc} or some other flags
More info here: https://developers.google.com/appengine/articles/eclipse
Please note that you can use the App Engine console to lauch/stop your project and code using your favorite IDE too, there is no need to configure eclipse to launch (it is just more comfortable to do so)