Skip to content
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

Detected problems with api compatibility (visit g.co/dev/appcompat for more info) - Android 9 #978

Closed
khalid283 opened this issue Nov 15, 2018 · 4 comments
Labels
stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@khalid283
Copy link

Description

A dialog open with this message Detected problems with api compatibility (visit g.co/dev/appcompat for more info).

screen shot 2018-11-15 at 1 00 49 pm

Accessing hidden method Landroid/view/View;>computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection)

Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection)

Accessing hidden method Landroid/widget/ListView;->findMotionRow(I)I (dark greylist, reflection)

Accessing hidden field Landroid/app/AlertDialog;>mAlert:Lcom/android/internal/app/AlertController; (light greylist, reflection)

Accessing hidden field Lcom/android/internal/app/AlertController; >mTitle:Ljava/lang/CharSequence; (light greylist, reflection)

Related link
https://developer.android.com/about/versions/pie/restrictions-non-sdk-interfaces
https://android-developers.googleblog.com/2018/02/improving-stability-by-reducing-usage.html

Future plan of react native
facebook/react-native#19297

How to repeat issue and example

Open gallery cancel without selecting any photo. The issue reproduced in both emulator and real device.

Solution

Temporary solution use buildToolsVersion "28.0.1" targetSdkVersion 28. Tested in debug mode only.

Additional Information

  • React Native version: [0.56.0]
  • Platform: [Android]
  • Development Operating System: [MacOS]
  • Dev tools: [Android Studio version - 3.2.1, Android SDK version - 27.0.2]
@Sike4games
Copy link

Thanks

@stale
Copy link

stale bot commented Jul 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

@stale stale bot added the stale There has been a lack of activity on this issue and it may be closed soon. label Jul 27, 2019
@stale
Copy link

stale bot commented Aug 3, 2019

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

@Tridev09
Copy link

Can you give me link of buildversion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants