Deprecated API Android
See original GitHub issueReact Native version: 0.61.2 RNC-Async-Storage version: 1.6.2 Platform: Android, Android studio 3.4.2
Current behavior
Building in Android studio throws this Java compiler information. Not sure how big deal it is.
/Users/home/Desktop/APLIKACE/test/node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java:
uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:24
- Comments:26 (5 by maintainers)
Top Results From Across the Web
Deprecations - Android Developers
Deprecation means that we've ended official support for the APIs, but they will continue to remain available to developers. This page highlights some...
Read more >Understanding deprecated in Android | by Nilesh Deokar
In Android deprecation usually means “We will continue to support this, but we think there are better solutions”. · The main disadvantage is...
Read more >Deprecations | Android Enterprise - Google Developers
The following methods of the Google Play EMM API are deprecated as of September 1, 2021, and will be turned off on December...
Read more >Deprecated API methods - Samsung Knox Documentation
Package Class Deprecated API
com.samsung.android.knox EnterpriseDeviceManager setAdminRemovable(removable, pk...
com.samsung.android.knox EnterpriseDeviceManager setAdminRemovable(removable)
com.samsung.android.knox EnterpriseDeviceManager getAdminRemovable(pkg)
Read more >android studio uses or overrides a deprecated API [duplicate]
Deprecated means that in the future this method will no longer be supported. There might be a new method that you should use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know this issue is closed, but I’m encountering the same exact issue as @LukePenkava, even the behaviour is the same.
I tried @maxKimoby solution, but it didn’t solve it, I still got the same error on
AsyncStorageModule.java
.The problem is, it’s not a warning, it’s an error that prevents me from building the app.
node_modules
npm install
oryarn
npx jetify
Do you still have the issue?
Edit: Command is
npx jetify
and notjetifier
as I first wrote.