Android Question java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

roncoa

Member
Licensed User
Hello to all,
after about a year, I decided to update my app.
I installed the new 8.50 version of B4A.
Unfortunately now I can not fill in the app correctly.
With the old version I had (which I can not remember which one) everything was compiled correctly and everything worked fine
Now, B4A compiles correctly, but on the phone the app crashes.
The errors that B4A returns are as follows:


Logger connesso a: LGE LG-H870
--------- beginning of system
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 411)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at roncoa.SmartHome.main._activity_create(main.java:411)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at roncoa.SmartHome.main.afterFirstLayout(main.java:104)
at roncoa.SmartHome.main.access$000(main.java:17)
at roncoa.SmartHome.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 14 more
Caused by: java.lang.NoSuchMethodError: No virtual method addOnTabSelectedListener(Landroid/support/design/widget/TabLayout$OnTabSelectedListener;)V in class Landroid/support/design/widget/TabLayout; or its super classes (declaration of 'android.support.design.widget.TabLayout' appears in /data/app/roncoa.SmartHome-heOEgGLwnv60m1PsbGpIFg==/base.apk)
at de.amberhome.objects.TabLayoutWrapper.innerInitialize(TabLayoutWrapper.java:63)
at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:67)
at de.amberhome.objects.TabLayoutWrapper.Initialize(TabLayoutWrapper.java:52)
at de.amberhome.objects.TabLayoutWrapper._initialize(TabLayoutWrapper.java:90)
... 17 more
 

npsonic

Active Member
Licensed User
Try to delete app from your device and install it again from clean.
 

roncoa

Member
Licensed User
Make sure to use the latest version of DesignSupport and follow the instructions: https://www.b4x.com/android/forum/t...nal-material-design-components.58893/#content
I followed all the instructions, but now the error is:

main_activity_create (java line: 411)
java.lang.RuntimeException: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at roncoa.SmartHome.main._activity_create(main.java:411)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at roncoa.SmartHome.main.afterFirstLayout(main.java:104)
at roncoa.SmartHome.main.access$000(main.java:17)
at roncoa.SmartHome.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
at android.support.v7.app.AppCompatDelegateImpl.setSupportActionBar(AppCompatDelegateImpl.java:345)
at android.support.v7.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:130)
at de.amberhome.objects.appcompat.ACToolBarWrapper.DesignerCreateView(ACToolBarWrapper.java:119)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:70)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 14 more
 

roncoa

Member
Licensed User
If i set:
SetApplicationAttribute(android:theme, "@style/Theme.AppCompat.NoActionBar")

The error is :

Error occurred on line: 132 (Main)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:733)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:355)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at roncoa.SmartHome.main.afterFirstLayout(main.java:104)
at roncoa.SmartHome.main.access$000(main.java:17)
at roncoa.SmartHome.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6710)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)



HELPPPPPPPP!
 

Semen Matusovskiy

Well-Known Member
Licensed User
@roncoa
You need to isolate a problem (by removing the parts of your program) and to post a zip.
And probably this process will help to find a reason of troubles by yourself.
 

Semen Matusovskiy

Well-Known Member
Licensed User
Post a zip-file with "bad" layout. Guess, it's possible to reduce a code to 40-50 statements.

Otherwise it's possible to assume only. For example, there are problems with re-creation of NavDrawer, because NavDrawer.Initialize2 creates a parent of view, which you pass as second parameter (typically, Activity).
Probably, recreate method of activity will help in your situation (it removes all views and generates Activity_Create, Activity_Resume events).
 
Last edited:

Semen Matusovskiy

Well-Known Member
Licensed User
I tried to find a sample, which I used before.
To my surprise
B4X:
Caused by: java.lang.NoSuchMethodError: No virtual method addOnTabSelectedListener(Landroid/support/design/widget/TabLayout$OnTabSelectedListener;)V in class Landroid/support/design/widget/TabLayout; or its super classes (declaration of 'android.support.design.widget.TabLayout' appears in /data/app/example.navigationview-Yci6e6PkiZDJtnD4JelFIQ==/base.apk)
Looks like a problem with new mavens. I used android.jar from API-28.
Meanwhile not possible to return to API-27 due to another errors.
 
Last edited:

Semen Matusovskiy

Well-Known Member
Licensed User
Erel --
I agree. Some weeks ago all worked fine (and it was android-27)
What do you think about mavens ? We need to correct <sdk>extras\b4a_remote\installed-components.txt ?
But how to understand what was in August ?
Just now I see
B4X:
com.google.android.gms\:play-services-ads-identifier=15.0.1
com.crashlytics.sdk.android\:crashlytics=2.9.5
com.google.android.gms\:play-services-tagmanager=16.0.3
com.android.support\:drawerlayout=28.0.0
android.arch.lifecycle\:reactivestreams=1.1.1
com.google.android.gms\:play-services-analytics=16.0.3
com.google.firebase\:firebase-dynamic-links-license=12.0.1
com.google.android.gms\:play-services-places-placereport=15.0.1
com.android.support\:support-compat=28.0.0
com.android.tools.analytics-library\:tracker=26.2.0
com.android.support\:support-emoji=28.0.0
android.arch.lifecycle\:viewmodel=1.1.1
com.google.gms\:oss-licenses=0.9.2
com.google.firebase\:firebase-perf=16.1.0
com.google.android.gms\:play-services-gcm-license=12.0.1
com.google.android.gms\:play-services-plus-license=12.0.1
com.android.support\:recyclerview-v7=28.0.0
com.google.android.gms\:play-services-appindexing=9.8.0
com.google.android.gms\:play-services-plus=15.0.1
com.google.firebase\:firebase-measurement-connector-impl=17.0.1
com.android.support\:asynclayoutinflater=28.0.0
com.android.tools.analytics-library\:inspector=26.2.0
com.google.firebase\:firebase-storage-common=16.0.1
com.google.firebase\:firebase-analytics-impl-license=12.0.1
com.google.android.gms\:play-services-base-license=12.0.1
com.android.support\:preference-v14=28.0.0
com.google.firebase\:firebase-invites=16.0.3
com.android.tools\:annotations=26.2.0
com.google.android.gms\:play-services-auth=16.0.0
com.google.android.gms\:play-services-vision-common-license=12.0.1
com.android.support\:multidex=1.0.3
com.google.android.gms\:play-services-tagmanager-api=16.0.3
com.google.firebase\:firebase-auth-module=9.8.0
com.google.firebase\:firebase-analytics=16.0.3
com.google.android.gms\:play-services-fitness=16.0.0
com.google.android.gms\:play-services-analytics-impl=16.0.3
com.google.firebase\:firebase-analytics-license=12.0.1
com.google.android.gms\:play-services-all-wear=15.0.1
android.arch.lifecycle\:compiler=1.1.1
com.google.android.gms\:play-services-auth-api-phone=15.0.1
com.google.android.gms\:play-services-iid-license=12.0.1
com.google.android.gms\:play-services-awareness=15.0.1
com.android.tools\:devicelib=26.2.0
com.android.support\:wearable=26.0.0-alpha1
com.android.support\:support-core-ui=28.0.0
android.arch.lifecycle\:livedata-core=1.1.1
com.google.firebase\:firebase-database-connection=16.0.1
com.google.android.gms\:play-services-tagmanager-v4-impl=16.0.3
com.google.android.gms\:play-services-identity-license=12.0.1
com.android.support\:multidex-instrumentation=1.0.3
com.android.support\:cardview-v7=28.0.0
com.google.firebase\:firebase-firestore=17.1.0
com.google.android.gms\:play-services-games=15.0.1
com.android.support\:coordinatorlayout=28.0.0
android.arch.lifecycle\:common=1.1.1
com.google.android.gms\:play-services-measurement=8.4.0
com.google.android.gms\:play-services-ads-license=12.0.1
android.arch.lifecycle\:livedata=1.1.1
com.google.android.gms\:play-services-vision=15.0.2
com.android.support\:percent=28.0.0
com.google.android.gms\:play-services-auth-license=11.4.2
com.android.support\:palette-v7=28.0.0
com.google.android.gms\:play-services-ads=15.0.1
com.android.support\:customtabs=28.0.0
com.google.firebase\:firebase-auth-license=12.0.1
com.android.support\:support-dynamic-animation=28.0.0
com.google.android.gms\:play-services-auth-base-license=12.0.1
com.google.android.gms\:play-services-ads-lite-license=12.0.1
com.google.firebase\:firebase-database-license=12.0.1
com.google.android.gms\:play-services-appinvite=16.0.3
com.google.android.gms\:play-services-safetynet=15.0.1
com.google.android.gms\:play-services-analytics-impl-license=12.0.1
com.google.android.gms\:play-services-drive=15.0.1
com.google.android.gms\:play-services-fido-license=12.0.1
com.android.support\:swiperefreshlayout=28.0.0
com.google.android.gms\:play-services-wallet-license=12.0.1
com.google.android.gms\:play-services-panorama=15.0.1
com.android.support\:support-fragment=28.0.0
com.google.android.gms\:play-services-gass-license=12.0.1
com.google.android.gms\:play-services-tagmanager-license=12.0.1
com.google.android.gms\:play-services-contextmanager=9.4.0
android.arch.core\:core-testing=1.1.1
com.google.firebase\:firebase-analytics-impl=16.2.1
com.google.firebase\:firebase-dynamic-links=16.1.1
android.arch.lifecycle\:common-java8=1.1.1
com.google.android.gms\:play-services-safetynet-license=12.0.1
com.android.support\:preference-leanback-v17=28.0.0
com.google.firebase\:firebase-measurement-connector=17.0.0
com.google.android.gms\:play-services-analytics-license=12.0.1
com.google.android.gms\:play-services-fitness-license=12.0.1
com.google.android.gms\:play-services-wallet=16.0.0
io.fabric.sdk.android\:fabric=1.4.4
com.google.firebase\:firebase-perf-license=12.0.1
com.google.firebase\:firebase-auth-common=9.8.0
com.google.firebase\:firebase-iid-interop=16.0.0
com.google.android.gms\:play-services-appstate=8.4.0
com.google.firebase\:firebase-storage=16.0.2
com.google.firebase\:firebase-common=16.0.2
com.google.firebase\:firebase-ads=15.0.1
com.google.firebase\:firebase-auth-interop=16.0.0
com.google.android.gms\:play-services-stats=15.0.1
com.android.support\:support-tv-provider=28.0.0
android.arch.core\:runtime=1.1.1
com.google.android.gms\:play-services-wearable=16.0.0
com.google.android.gms\:play-services-drive-license=12.0.1
com.android.support\:support-emoji-appcompat=28.0.0
com.google.android.gms\:play-services-vision-license=12.0.1
com.google.android.gms\:play-services-maps-license=12.0.1
com.google.android.support\:wearable=2.3.0
com.google.android.gms\:play-services-clearcut=15.0.1
com.google.firebase\:firebase-database=16.0.2
com.android.tools.analytics-library\:shared=26.2.0
com.android.support\:support-vector-drawable=28.0.0
com.android.tools\:dvlib=26.2.0
com.google.android.gms\:play-services-vision-common=15.0.2
com.google.android.gms\:play-services-fido=15.0.1
com.android.support\:transition=28.0.0
android.arch.lifecycle\:extensions=1.1.1
com.google.android.gms\:play-services-iid=15.0.1
com.google.firebase\:firebase-iid-license=12.0.1
com.google.firebase\:firebase-appindexing=16.0.1
com.android.support\:support-media-compat=28.0.0
com.android.support\:versionedparcelable=28.0.0
com.android.tools\:repository=26.2.0
com.android.support\:support-annotations=28.0.0
com.android.support\:support-core-utils=28.0.0
com.google.android.gms\:play-services-gcm=15.0.1
com.google.android.gms\:play-services-maps=15.0.1
com.android.support\:appcompat-v7=28.0.0
com.google.android.gms\:play-services-nearby=15.0.1
com.google.firebase\:firebase-crash-license=12.0.1
com.google.android.gms\:play-services-places=15.0.1
android.arch.core\:core=1.0.0-alpha3
com.google.android.gms\:play-services-identity=15.0.1
com.android.support\:print=28.0.0
com.google.android.gms\:play-services-instantapps=16.0.0
com.google.android.gms\:play-services-instantapps-license=12.0.1
android.arch.lifecycle\:runtime=1.1.1
com.google.android.gms\:play-services-cast-framework-license=12.0.1
com.google.android.gms\:play-services-oss-licenses=16.0.0
com.android.tools\:sdklib=26.2.0
com.android.support\:loader=28.0.0
com.google.firebase\:firebase-appindexing-license=12.0.1
com.google.android.gms\:play-services-gass=15.0.1
com.google.firebase\:firebase-auth=16.0.3
com.google.android.gms\:play-services-appinvite-license=12.0.1
com.android.tools.analytics-library\:protos=26.2.0
com.google.android.gms\:play-services-base=15.0.1
com.android.support\:localbroadcastmanager=28.0.0
com.google.firebase\:firebase-iid=17.0.2
com.android.support\:customview=28.0.0
com.google.android.gms\:play-services-games-license=12.0.1
com.google.android.gms\:play-services-tagmanager-v4-impl-license=12.0.1
com.google.android.gms\:play-services-tagmanager-api-license=12.0.1
com.google.firebase\:firebase-auth-impl=11.0.0
com.android.support\:slidingpanelayout=28.0.0
com.google.firebase\:firebase-core=16.0.3
com.android.support\:animated-vector-drawable=28.0.0
com.google.android.gms\:play-services-wearable-license=12.0.1
com.google.android.gms\:auth-api-impl=11.6.0
com.android.support\:exifinterface=28.0.0
com.google.android.gms\:play-services-location-license=12.0.1
com.google.android.gms\:play-services-cast-framework=16.0.2
com.google.firebase\:firebase-config=16.0.0
com.android.support\:cursoradapter=28.0.0
com.android.installreferrer\:installreferrer=1.0
com.google.android.gms\:play-services-ads-lite=15.0.1
com.google.android.gms\:play-services-oss-licenses-license=12.0.1
com.android.support\:interpolator=28.0.0
android.arch.core\:common=1.1.1
com.android.tools\:sdk-common=26.2.0
com.google.firebase\:firebase-storage-license=12.0.1
com.android.support\:gridlayout-v7=28.0.0
com.google.firebase\:testlab-instr-lib=0.1
com.google.android.gms\:play-services-cast-license=12.0.1
com.google.firebase\:firebase-crash=16.2.0
com.android.support\:design=28.0.0
com.android.support\:viewpager=28.0.0
com.google.firebase\:firebase-messaging=17.3.2
com.google.firebase\:firebase-storage-common-license=12.0.1
com.google.android.gms\:play-services-nearby-license=12.0.1
com.android.tools\:r8=1.2.48
com.android.support\:wear=28.0.0
com.google.firebase\:firebase-common-license=12.0.1
com.google.android.gms\:play-services-places-license=12.0.1
com.google.android.gms\:play-services-auth-api-phone-license=12.0.1
com.google.android.gms\:play-services-awareness-license=12.0.1
com.android.support\:support-v4=28.0.0
com.android.support\:support-content=27.1.1
com.crashlytics.sdk.android\:crashlytics-core=2.6.4
com.google.android.gms\:play-services-phenotype=15.0.1
com.android.support\:support-v13=28.0.0
com.google.android.gms\:play-services-basement=15.0.1
com.google.android.gms\:play-services-flags=15.0.1
com.android.tools\:testutils=26.2.0
com.android.support\:support-emoji-bundled=28.0.0
com.android.support\:recommendation=28.0.0
com.google.android.gms\:play-services=12.0.1
com.google.android.gms\:play-services-cast=16.0.2
com.google.firebase\:firebase-messaging-license=12.0.1
com.android.support\:collections=28.0.0
com.google.android.wearable\:wearable=2.3.0
com.android.tools\:common=26.2.0
com.google.android.gms\:play-services-location=15.0.1
com.android.support\:mediarouter-v7=28.0.0
com.google.android.gms\:play-services-panorama-license=12.0.1
com.google.android.gms\:play-services-measurement-base=16.0.2
com.google.android.gms\:play-services-auth-base=15.1.0
com.google.android.gms\:play-services-ads-base=15.0.1
com.android.support\:leanback-v17=28.0.0
com.android.support\:preference-v7=28.0.0
com.android.tools.analytics-library\:publisher=26.2.0
com.google.android.gms\:play-services-tasks-license=12.0.1
com.google.firebase\:firebase-config-license=12.0.1
com.android.support\:instantvideo=26.0.0-alpha1
com.android.support\:documentfile=28.0.0
com.google.firebase\:firebase-database-connection-license=12.0.1
com.google.android.gms\:play-services-measurement-api=16.0.1
com.google.android.gms\:play-services-basement-license=12.0.1
com.google.android.gms\:play-services-tasks=15.0.1
 

Semen Matusovskiy

Well-Known Member
Licensed User
Erel --
I'm not familiar with this library.
I thought that you are an author of SDK Manager. Is not it ?

SDKManager creates a file, about which I told.
B4X:
File.WriteMap(path, "installed-components.txt", m)
...
    If File.Exists(path, "installed-components.txt") Then
        m = File.ReadMap(path, "installed-components.txt")
And it seems to me that this file talks B4A, which mavens to take..

I found a copy of <sdk> folder, dated September, 17. Unfortunatelly, without platform subdirectory. So I took current.
Guess, it's not important, because mavens are placed in <sdk\>extras and Google did not change android.jar for API 27.

I tested some old apps. Looks that works normally.
Here is a list of mavens (exactly, installed-component.txt) according September, 17
B4X:
com.google.android.gms\:play-services-ads-identifier=15.0.1
com.crashlytics.sdk.android\:crashlytics=2.9.5
com.google.android.gms\:play-services-tagmanager=16.0.3
android.arch.lifecycle\:reactivestreams=1.1.1
com.google.android.gms\:play-services-analytics=16.0.3
com.google.firebase\:firebase-dynamic-links-license=12.0.1
com.google.android.gms\:play-services-places-placereport=15.0.1
com.android.support\:support-compat=27.1.1
com.android.tools.analytics-library\:tracker=26.1.4
com.android.support\:support-emoji=27.1.1
android.arch.lifecycle\:viewmodel=1.1.1
com.google.gms\:oss-licenses=0.9.2
com.google.android.gms\:play-services-gcm-license=12.0.1
com.google.firebase\:firebase-perf=16.1.0
com.google.android.gms\:play-services-plus-license=12.0.1
com.android.support\:recyclerview-v7=27.1.1
com.google.android.gms\:play-services-appindexing=9.8.0
com.google.android.gms\:play-services-plus=15.0.1
com.google.firebase\:firebase-measurement-connector-impl=17.0.1
com.android.tools.analytics-library\:inspector=26.1.4
com.google.firebase\:firebase-storage-common=16.0.1
com.google.firebase\:firebase-analytics-impl-license=12.0.1
com.google.android.gms\:play-services-base-license=12.0.1
com.android.support\:preference-v14=27.1.1
com.google.firebase\:firebase-invites=16.0.3
com.android.tools\:annotations=26.1.4
com.google.android.gms\:play-services-auth=16.0.0
com.google.android.gms\:play-services-vision-common-license=12.0.1
com.google.android.gms\:play-services-tagmanager-api=16.0.3
com.android.support\:multidex=1.0.3
com.google.firebase\:firebase-analytics=16.0.3
com.google.firebase\:firebase-auth-module=9.8.0
com.google.android.gms\:play-services-fitness=15.0.1
com.google.android.gms\:play-services-analytics-impl=16.0.3
com.google.firebase\:firebase-analytics-license=12.0.1
com.google.android.gms\:play-services-all-wear=15.0.1
android.arch.lifecycle\:compiler=1.1.1
com.google.android.gms\:play-services-auth-api-phone=15.0.1
com.google.android.gms\:play-services-iid-license=12.0.1
com.google.android.gms\:play-services-awareness=15.0.1
com.android.tools\:devicelib=26.1.4
com.android.support\:wearable=26.0.0-alpha1
com.android.support\:support-core-ui=27.1.1
android.arch.lifecycle\:livedata-core=1.1.1
com.google.firebase\:firebase-database-connection=16.0.1
com.google.android.gms\:play-services-tagmanager-v4-impl=16.0.3
com.google.android.gms\:play-services-identity-license=12.0.1
com.android.support\:multidex-instrumentation=1.0.3
com.android.support\:cardview-v7=27.1.1
com.google.android.gms\:play-services-games=15.0.1
com.google.firebase\:firebase-firestore=17.1.0
android.arch.lifecycle\:common=1.1.1
com.google.android.gms\:play-services-measurement=8.4.0
com.google.android.gms\:play-services-ads-license=12.0.1
android.arch.lifecycle\:livedata=1.1.1
com.google.android.gms\:play-services-vision=15.0.2
com.google.android.gms\:play-services-auth-license=11.4.2
com.android.support\:percent=27.1.1
com.android.support\:palette-v7=27.1.1
com.google.android.gms\:play-services-ads=15.0.1
com.android.support\:customtabs=27.1.1
com.google.firebase\:firebase-auth-license=12.0.1
com.android.support\:support-dynamic-animation=27.1.1
com.google.android.gms\:play-services-auth-base-license=12.0.1
com.google.android.gms\:play-services-ads-lite-license=12.0.1
com.google.android.gms\:play-services-appinvite=16.0.3
com.google.firebase\:firebase-database-license=12.0.1
com.google.android.gms\:play-services-safetynet=15.0.1
com.google.android.gms\:play-services-analytics-impl-license=12.0.1
com.google.android.gms\:play-services-drive=15.0.1
com.google.android.gms\:play-services-fido-license=12.0.1
com.google.android.gms\:play-services-wallet-license=12.0.1
com.google.android.gms\:play-services-panorama=15.0.1
com.android.support\:support-fragment=27.1.1
com.google.android.gms\:play-services-gass-license=12.0.1
com.google.android.gms\:play-services-tagmanager-license=12.0.1
com.google.android.gms\:play-services-contextmanager=9.4.0
android.arch.core\:core-testing=1.1.1
com.google.firebase\:firebase-analytics-impl=16.2.1
com.google.firebase\:firebase-dynamic-links=16.1.1
android.arch.lifecycle\:common-java8=1.1.1
com.google.android.gms\:play-services-safetynet-license=12.0.1
com.android.support\:preference-leanback-v17=27.1.1
com.google.android.gms\:play-services-analytics-license=12.0.1
com.google.firebase\:firebase-measurement-connector=17.0.0
com.google.android.gms\:play-services-fitness-license=12.0.1
com.google.android.gms\:play-services-wallet=16.0.0
io.fabric.sdk.android\:fabric=1.4.4
com.google.firebase\:firebase-perf-license=12.0.1
com.google.firebase\:firebase-auth-common=9.8.0
com.google.firebase\:firebase-iid-interop=16.0.0
com.google.android.gms\:play-services-appstate=8.4.0
com.google.firebase\:firebase-storage=16.0.2
com.google.firebase\:firebase-common=16.0.2
com.google.firebase\:firebase-ads=15.0.1
com.google.firebase\:firebase-auth-interop=16.0.0
com.google.android.gms\:play-services-stats=15.0.1
com.android.support\:support-tv-provider=27.1.1
android.arch.core\:runtime=1.1.1
com.google.android.gms\:play-services-wearable=15.0.1
com.google.android.gms\:play-services-drive-license=12.0.1
com.google.android.gms\:play-services-vision-license=12.0.1
com.android.support\:support-emoji-appcompat=27.1.1
com.google.android.gms\:play-services-maps-license=12.0.1
com.google.android.support\:wearable=2.3.0
com.google.android.gms\:play-services-clearcut=15.0.1
com.google.firebase\:firebase-database=16.0.2
com.android.tools.analytics-library\:shared=26.1.4
com.android.support\:support-vector-drawable=27.1.1
com.android.tools\:dvlib=26.1.4
com.google.android.gms\:play-services-vision-common=15.0.2
com.google.android.gms\:play-services-fido=15.0.1
com.android.support\:transition=27.1.1
android.arch.lifecycle\:extensions=1.1.1
com.google.android.gms\:play-services-iid=15.0.1
com.google.firebase\:firebase-iid-license=12.0.1
com.google.firebase\:firebase-appindexing=16.0.1
com.android.support\:support-media-compat=27.1.1
com.android.tools\:repository=26.1.4
com.android.support\:support-annotations=27.1.1
com.android.support\:support-core-utils=27.1.1
com.google.android.gms\:play-services-gcm=15.0.1
com.google.android.gms\:play-services-maps=15.0.1
com.google.android.gms\:play-services-nearby=15.0.1
com.android.support\:appcompat-v7=27.1.1
com.google.firebase\:firebase-crash-license=12.0.1
com.google.android.gms\:play-services-places=15.0.1
android.arch.core\:core=1.0.0-alpha3
com.google.android.gms\:play-services-identity=15.0.1
com.google.android.gms\:play-services-instantapps=16.0.0
com.google.android.gms\:play-services-instantapps-license=12.0.1
android.arch.lifecycle\:runtime=1.1.1
com.google.android.gms\:play-services-cast-framework-license=12.0.1
com.google.android.gms\:play-services-oss-licenses=16.0.0
com.android.tools\:sdklib=26.1.4
com.google.firebase\:firebase-appindexing-license=12.0.1
com.google.android.gms\:play-services-gass=15.0.1
com.google.firebase\:firebase-auth=16.0.3
com.google.android.gms\:play-services-appinvite-license=12.0.1
com.android.tools.analytics-library\:protos=26.1.4
com.google.android.gms\:play-services-base=15.0.1
com.google.firebase\:firebase-iid=17.0.1
com.google.android.gms\:play-services-games-license=12.0.1
com.google.android.gms\:play-services-tagmanager-v4-impl-license=12.0.1
com.google.android.gms\:play-services-tagmanager-api-license=12.0.1
com.google.firebase\:firebase-auth-impl=11.0.0
com.google.firebase\:firebase-core=16.0.3
com.android.support\:animated-vector-drawable=27.1.1
com.google.android.gms\:play-services-wearable-license=12.0.1
com.google.android.gms\:auth-api-impl=11.6.0
com.android.support\:exifinterface=27.1.1
com.google.android.gms\:play-services-location-license=12.0.1
com.google.android.gms\:play-services-cast-framework=16.0.2
com.google.firebase\:firebase-config=16.0.0
com.android.installreferrer\:installreferrer=1.0
com.google.android.gms\:play-services-ads-lite=15.0.1
com.google.android.gms\:play-services-oss-licenses-license=12.0.1
android.arch.core\:common=1.1.1
com.android.tools\:sdk-common=26.1.4
com.google.firebase\:firebase-storage-license=12.0.1
com.android.support\:gridlayout-v7=27.1.1
com.google.firebase\:testlab-instr-lib=0.1
com.google.android.gms\:play-services-cast-license=12.0.1
com.google.firebase\:firebase-crash=16.2.0
com.google.firebase\:firebase-storage-common-license=12.0.1
com.google.firebase\:firebase-messaging=17.3.1
com.google.android.gms\:play-services-nearby-license=12.0.1
com.android.support\:design=27.1.1
com.android.tools\:r8=1.0.37
com.google.firebase\:firebase-common-license=12.0.1
com.android.support\:wear=27.1.1
com.google.android.gms\:play-services-places-license=12.0.1
com.google.android.gms\:play-services-auth-api-phone-license=12.0.1
com.google.android.gms\:play-services-awareness-license=12.0.1
com.android.support\:support-v4=27.1.1
com.android.support\:support-content=27.1.1
com.crashlytics.sdk.android\:crashlytics-core=2.6.4
com.google.android.gms\:play-services-phenotype=15.0.1
com.android.support\:support-v13=27.1.1
com.google.android.gms\:play-services-basement=15.0.1
com.google.android.gms\:play-services-flags=15.0.1
com.android.tools\:testutils=26.1.4
com.android.support\:support-emoji-bundled=27.1.1
com.android.support\:recommendation=27.1.1
com.google.android.gms\:play-services=12.0.1
com.google.android.gms\:play-services-cast=16.0.2
com.google.firebase\:firebase-messaging-license=12.0.1
com.google.android.wearable\:wearable=2.3.0
com.android.tools\:common=26.1.4
com.google.android.gms\:play-services-location=15.0.1
com.android.support\:mediarouter-v7=27.1.1
com.google.android.gms\:play-services-panorama-license=12.0.1
com.google.android.gms\:play-services-measurement-base=16.0.2
com.google.android.gms\:play-services-auth-base=15.1.0
com.google.android.gms\:play-services-ads-base=15.0.1
com.android.support\:leanback-v17=27.1.1
com.android.support\:preference-v7=27.1.1
com.android.tools.analytics-library\:publisher=26.1.4
com.google.android.gms\:play-services-tasks-license=12.0.1
com.google.firebase\:firebase-config-license=12.0.1
com.android.support\:instantvideo=26.0.0-alpha1
com.google.firebase\:firebase-database-connection-license=12.0.1
com.google.android.gms\:play-services-measurement-api=16.0.1
com.google.android.gms\:play-services-basement-license=12.0.1
com.google.android.gms\:play-services-tasks=15.0.1
 

Semen Matusovskiy

Well-Known Member
Licensed User
Agree. The reason of troubles is found. Approximatelly Sep 22-24, Google put new mavens and SDK Manager shows them as "recommended".
Typically everybody installes new "recommended" automatically. This time it was a big mistake. New mavens are marked 28.0.0 and there are reasons to think that they will work with API 28 only.

Personally I returned android.jar from android-27 and ignore mavens 28.0.0.
 
Top