I know there are different questions to this task, but I don't get much information about it.
I found out that AdMob is part of firebase now, but there's a way to use it without firebase. Besides there are no tutorials or information about eclipse - is it necessary to use Android Studio or is it just not documented?
Actually it does not matter if it is part of Firebase, because all of it belongs to the Google Play Services. To get the AdMob classes, you just need to add com.google.android.gms:play-services-ads:10.0.1 to your build.gradle file (see the full list of all possible services here) which already explains your second question.
Android development in Eclipse is not supported any more. There is no Eclipse plugin any more. Google forces you to take Android Studio now.
Related
My app is written on android native code and I got this warning on the play store console
Your app "appName" version code "xxxx" includes SDK com.segment.analytics.android:analytics or an SDK that one of your libraries depends on, which collects personal or sensitive data that includes but may not be limited to Advertising ID, Android ID identifiers. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers as described in the User Data policy.
ACTION REQUIRED: Upload a new compliant version AND deactivate the noncompliant version.
But I don't have that library on my project, the only libraries related to firebase that I have are these:
"com.google.firebase:firebase-crashlytics:17.4.0",
"com.google.firebase:firebase-analytics:18.0.2",
"com.google.firebase:firebase-perf:20.0.2",
"com.google.firebase:firebase-core:18.0.0",
"com.google.firebase:firebase-auth:20.0.1",
"com.google.firebase:firebase-messaging:21.0.1",
But I don't know how to solve this, should I update all of them and upload my app again and check if I received this warning again or not to see if it was solved? I need to solve this because I won't be able to upload more app versions in the following months.
Thank you for being so helpful, it's really appreciated.
Some people have asked me if I solved this, and the short answer is yes, I did. Unfortunately, nobody gave me a specific answer about how to solve it, and the problem is that I think I used a bazooka to kill a fly.
The process for solving this was this:
I updated all Firebase dependencies, I was using these:
com.google.firebase:firebase-crashlytics,
com.google.firebase:firebase-analytics,
com.google.firebase:firebase-perf,
com.google.firebase:firebase-core,
com.google.firebase:firebase-auth,
com.google.firebase:firebase-messaging
I update them using firebase-bom version 30.3.2
Also, I updated other google dependencies, I'm not 100% sure that this affected the solution, however, I want to document all just in case you are also using them, and you can consider it out.
com.google.android.gms:play-services-auth:20.2.0,
com.google.android.gms:play-services-auth-api-phone:18.0.1,
com.google.android.gms:play-services-analytics:18.0.1,
com.google.android.gms:play-services-base:18.1.0,
com.google.android.gms:play-services-location:20.0.0,
com.google.android.gms:play-services-maps:18.0.1
After using these versions, I uploaded the new build and did not see the problem again in the Google console for this version and later
Sorry for not being specific in the needed dependency to be updated, I didn't have a chance to test the combinations to discover them.
I have a React-Native app in the Google Market. What I need to do is to create a separate version for our internal use (it will have some different functionality). Pretty much I need to have two apps in the market so I can have both of them on my phone. The closest answer that I found was this. I forked my app and from my understanding, I need to change all the package names to a new one. However, the problem is in my app I use Google Services like FCM, I use some extra packagaes like sharing and importing posts. And those are also tied to a package name.
Are there any tutorials to doing this, or do I need to create a blank project and start building it up from scratch, adding packages?
Sorry, if I am unclear about the explanations. I thought this was a common practice, but did not find much information about it.
You just need to change your apps name by cloning your repo and made some changes explained here.
I am a little confused,
I started learning Firebase from this documentation , but as I started integrating other components several things didn't match ok.
Then I found this other site that has a different use of Gradle instructions and overall setup.
I know that Google bought Firebase, so should I use the latter? Should I use both? How much do they differ one from another?
I started using: com.firebase:firebase-client-android:2.5.2
but then I see people using instead: com.google.firebase:firebase-core:9.8.0
And I had even seen some people who has both in their Gradle file.
There is a big yellow banner on that documentation:
YOU'RE VIEWING THE LEGACY DOCS. THEY ARE DEPRECATED AS OF MAY 18, 2016.
These docs are for version 2.5.2 and below of the Java SDK. Go to our current docs, or see our Android migration guide.
You can start by registering your app in firebase console https://console.firebase.google.com/
if you follow the instruction here then you could successfuly integrate firebase service
I am very new to Android development and I am trying to create a very basic app that makes use of the VoiceRecognition facility.
The resource site here says to just paste the sample code into the project:
http://developer.android.com/resources/articles/speech-input.html
However eclipse doesn't seem to find/like the line "import com.example.android.apis.R", what it underlines is the com.example part of it, and as a result all the "R." methods give errors (e.g. findViewById(R.id.list))....
Is there something that I am not doing? Am I supposed to set up the project in a particular way in order to use these code samples?
Thank you very much
Check that you have the Google APIs installed in your environment.
For each SDK version you target, you can choose to use the one with the Google APIs or not. Speech input utilises the Google APIs so you must have them installed and target them in your app and Eclipse.
EDIT:
Detailed instructions for using the Google APIs in Eclipse can be found on the Google Maps Overview page.
You'll need to pay particular attention to the Set up a new Android project section (which also covers reconfiguring an existing project) and Set up an Android Virtual Device. You may or may not need to reference the speech library in a similar way to the Add a uses-library element section.
Having noted this question has gone unanswered after a month, I hope I can meet with more success than this guy: -
Help about GoogleAdView.jar
The instructions on http://code.google.com/mobile/ads/docs/android/ states this: -
Integrating the Google Ads SDK with your Android-based app is a relatively straightforward process:
Add GoogleAdView.jar to your project's /libs directory. If you are developing in Eclipse, you will also need to add this JAR to your project's build path.
But, I do not have the file "GoogleAdView.jar" in the SDK - nor on my hard-drive anywhere for that matter, nor can I find it on the android SDK downloads or updates. I've searched for a couple of hours now for it with no luck. I am stumped before I even got a chance to start! I have an Adsense account, and am pretty sure I am doing everything right.
I live in Australia if that makes any difference.
The answer to my question is here: -
http://google.com/support/forum/p/AdSense/thread?tid=0d0fe53ca006d699
Currently the AdSense SDK for Android is in Beta only, and seems to only be available in the USA.
A working solution in my case was to go with AdMob http://www.admob.com
and the instructions to get you started can be found here http://developer.admob.com/wiki/Android
One thing that Wiki didn't make obvious was where the "Sites & Apps" tab is; you first have to click the "Marketplace" button at the very top of the browser - once you are logged in with an account with them that is.
Also note this is still a Google solution.