Giter Club home page Giter Club logo

Comments (8)

leonardoanalista avatar leonardoanalista commented on June 17, 2024 1

unfortunately yes, the same error

from react-native-inappbrowser.

leonardoanalista avatar leonardoanalista commented on June 17, 2024 1

Thanks a lot! it works now on android.

from react-native-inappbrowser.

jdnichollsc avatar jdnichollsc commented on June 17, 2024

@leonardoanalista ok, check the last version of the plugin 👍
I'm using React Native 0.57 from the example folder

from react-native-inappbrowser.

leonardoanalista avatar leonardoanalista commented on June 17, 2024

Android build and installation are now working for v0.57. Thank you!

There is an error when I click on the link from the code example:

image

image

Simulator on screenshot is the second one in the list:
image

The same issue appears on a read device.

from react-native-inappbrowser.

jdnichollsc avatar jdnichollsc commented on June 17, 2024

Is the same behavior for Android 23 and 27?

from react-native-inappbrowser.

jdnichollsc avatar jdnichollsc commented on June 17, 2024

@leonardoanalista can you exclude android support?

  implementation (project(':react-native-inappbrowser-reborn')){
    exclude group: "com.android.support"
  }

from react-native-inappbrowser.

leonardoanalista avatar leonardoanalista commented on June 17, 2024

If I remove the 3 lines above I get this error:

> Task :app:compileDebugJavaWithJavac FAILED
/Users/leonardo/aajs/react-native-inappbrowser/example/android/app/src/main/java/com/example/MainApplication.java:6: error: package com.proyecto26.inappbrowser does not exist
import com.proyecto26.inappbrowser.RNInAppBrowserPackage;
                                  ^
/Users/leonardo/aajs/react-native-inappbrowser/example/android/app/src/main/java/com/example/MainApplication.java:27: error: cannot find symbol
            new RNInAppBrowserPackage()
                ^
  symbol: class RNInAppBrowserPackage
2 errors

If I remove only the second line, I get this one here:

[example _09:00:44] (master)^_^ react-native run-android
JS server not recognized, continuing with build...
Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'com.android.support:support-core-ui' has different version for the compile (27.1.1) and runtime (28.0.0) classpath. You should manually set the same version via DependencyResolution

* 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.

Does this make sense?

from react-native-inappbrowser.

jdnichollsc avatar jdnichollsc commented on June 17, 2024

@leonardoanalista sorry for the delay, check the last version from npm (1.3.7)

from react-native-inappbrowser.

Related Issues (20)

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.