Comments (5)
I've had a bit different error message, but it helped, thanks!
MainApplication.java:6: error: package com.levelasquez.androidopensettings does not exist
import com.levelasquez.androidopensettings.AndroidOpenSettingsPackage;
^
MainApplication.java:59: error: cannot find symbol
new AndroidOpenSettingsPackage(),
^
symbol: class AndroidOpenSettingsPackage
from react-native-android-open-settings.
@leeleoo but when you install your packages again or update them, your local change will be gone. You are using an older Android API level, right?
from react-native-android-open-settings.
@donni106 That's why I made a fork, but now that I think about it a patch would be probably a better idea. AFAIK this is problem in gradle, not Android API level. compile
is deprecated since gradle version 3, and I'm currently using 2.3.3 (classpath 'com.android.tools.build:gradle:2.3.3'
in android/build.gradle
)
from react-native-android-open-settings.
Yes sure, gradle version, not Android API level, my fault.
from react-native-android-open-settings.
@donni106 yes and I update gradle version to 3.x
from react-native-android-open-settings.
Related Issues (16)
- BUG: appDetailsSettings is undefined in v1.0.0 HOT 1
- Add appPermissionSettings method HOT 5
- eslint: error No default export found in module import/default
- settings not being opened on button click. HOT 1
- App info settings HOT 1
- Proposal: Add an open source license
- RN 0.60+ support autolinking
- after the user deny twice for permission no one of the api functions work
- Battery optimisation HOT 2
- How to open passcode & fingerprint setup screen
- Support go to Lock Screen Settings screen as action type ACTION_BIOMETRIC_ENROLL
- This library it's still having maintainence? HOT 6
- TypeError: null is not an object (evaluating 'RNAndroidOpenSettings.generalSettings') HOT 1
- Want to use callback()
- Return promises? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-android-open-settings.