In my app which was Targeting to Android API 28, screen sharing via. Webrtc was working fine.
As per recent Google Guidelines(deadline for Target API 29 task is Nov 2, 2020), today I have changed the targetSdkVersion and compileSdkVersion to Android API 29 and in turn, screen sharing stopped working.
Any help or guidance will be well appreciated.
As suggested in Webrtc Group, I have added only below line of code in my Foreground Service in AndroidManifest.xml and it worked like a charm.
android:foregroundServiceType="mediaProjection"
Related
I am trying to implement audio calling in android by using EasyLinphone SDK. It is working with targetSdkVersion 23 and higher target version it's not working. My app targetSdkVersion is 27 on play store so I can not downgrade it.
Please guide me to implement this feature in my app.
https://github.com/forever4313/EasyLinphone
I've checked & built the code with following attribute & it is working properly both for audio call & video call.
compileSdkVersion 28
minSdkVersion 21
targetSdkVersion 28
Kindly give Camera and Microphone permission (from app info) of your device settings. Hopefully It'll work.
If I am currently developing an SDK module for an Android application, do I still need to set my targetSdkVersion to 26 from now on in order for the client application to approve (from Nov 2018)?
Short answer: No. From the developers post the app is the only thing required to be targeting API 26.
What could happen is the following scenario: imagine that your module is targeting an old API level and uses a deprecated method. If your app targets a more recent API where that method was removed, your app may not compile.
Hope this can help you. Cheers!
Android studio is not working correctly and sent picture of problem please check and provide a feasible solution.
Go to your build.gradle(app) file and look for minSdkVersion. Change its value from 22 to 18. This happened because your phone has API 19 and minSdk of your app is 22.
In my android app, It's worked on marshmallow or higher version but not in kitkat. I already set minSdkVersion 15 targetSdkVersion 25. When I test in kitkat version API 19 App is unfortunately stopped.I got error. I attache error log. Help me. Thank you in advance.
It looks like that this problem is caused by the Multidex compiler. You may need to configure your App properly for Android Phones with a version <21.
You have to create your own application class and register this class at the Manifest xml file
I got the Android SoftKeyboard from here:
https://github.com/android/platform_development/tree/master/samples/SoftKeyboard
Built and run the app with Android Studio. This is what I get on the Nexus 5 API 25 Emulator:
When I run it on the Nexus 4 API 23 Emulator it looks correct:
Anyone knows what might be going on here and why the width is wrong in the first screenshot?
UPDATE: Same simulator using API level 25 and 24 results in screenshot 1. API level 23 and below don't have this problem. Wonder if the APIs have changed or is a bug in the SDK...