Git Product home page Git Product logo

react-native-autostart's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-native-autostart's Issues

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

whenever I install the package I get this error

> Task :react-native-autostart:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-autostart:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /home/uptotec/.gradle/caches/transforms-2/files-2.1/4438d40a9b83282dab2e1e14dc0d2520/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/4438d40a9b83282dab2e1e14dc0d2520/appcompat-1.0.2/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/7518bff248894dab409f5fbc04be8fbf/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

     /home/uptotec/.gradle/caches/transforms-2/files-2.1/7518bff248894dab409f5fbc04be8fbf/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 9s
1891 actionable tasks: 23 executed, 1868 up-to-date
error Failed to build the app. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew build -x lint
    at makeError (/home/uptotec/Projects/spoticount/test/spoticount-frontend/node_modules/execa/index.js:174:9)

extend readme with sample code

hi there,
it might be helpful to add this sample code to your readme.

it took me 30min to get the code working.
maybe other guys now need 1min ๐Ÿ‘

please add to your readme:

package com.autostart;

import com.facebook.react.ReactActivity;

import com.ssg.autostart.AutostartPackage;
import com.facebook.react.ReactPackage;
import java.util.List;
import java.util.Arrays;

public class MainActivity extends ReactActivity {
  ...
  protected List<ReactPackage> getPackages() {
    return Arrays.<ReactPackage>asList(
      new AutostartPackage()
    );
  }
}

cheers and thanks for your module!
dutscher

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.