Giter VIP home page Giter VIP logo

Comments (13)

ahashmi24 avatar ahashmi24 commented on May 20, 2024 1

@shibupanda
You can download it from link and take reference from pom.xml

Happy Testing!!!

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024 1

Hi @ahashmi24 could you please create a new thread for the issue you reported as it seems the driver is not configure properly. Expect you to create a new thread so that we can track the issues easily.

from appium-flutter-driver.

truongsinh avatar truongsinh commented on May 20, 2024

@shibupanda I don't think you can run java -jar appium-flutter-finder-0.0.4.jar directly, but you have to declare this as dependency. Please find the example at https://github.com/truongsinh/appium-flutter-driver/blob/master/example/java/pom.xml, specifically line https://github.com/truongsinh/appium-flutter-driver/blob/master/example/java/pom.xml#L52-L56 and https://github.com/truongsinh/appium-flutter-driver/blob/master/example/java/pom.xml#L88-L91

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

@truongsinh Yes you are absolutely correct.
But I did only for the verification whether the build is correct or not. I am using "gradle clean build" command to build the jar.

When I used the built jar in the project it leads with the below error.

https://gist.github.com/shibupanda/662770f842224283248b603d16f0351c

Please let me know whether I did something wrong while building the jar file or please publish the stable jar if you have. Thanks

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

Hi @truongsinh
Any suggestion on the above.

from appium-flutter-driver.

truongsinh avatar truongsinh commented on May 20, 2024

@shibupanda it seems your project does not have any kotlin depedency, which is required. It's kind of weird because appium-flutter-driver should already depend on kotlin std. Maybe you need to declare "transitive" :-? It's better if you have the whole project available for me to run on my local machine.

from appium-flutter-driver.

truongsinh avatar truongsinh commented on May 20, 2024

You can also look at this https://stackoverflow.com/questions/44197521/gradle-project-java-lang-noclassdeffounderror-kotlin-jvm-internal-intrinsics/44583514

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

Hi @truongsinh I took the pull from kotlin-finder branch as I don't want to invest time to build whole using java. If there is any issue with the branch I may start creating the java binding for finder.

I think you have merged it into master. But to start I think we need to buld jar and there I am facing issue.

from appium-flutter-driver.

truongsinh avatar truongsinh commented on May 20, 2024

I think you have merged it into master. But to start I think we need to buld jar and there I am facing issue.

Yes it was merged to master. Were you able to run the Java example provided?

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

No @truongsinh I am not as the dependency is not in maven so I am getting dependecy error in pom.
That's why I am trying to build the jar. When I tried to build jar that time I got above mentioned error.

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

Hi @truongsinh any update on the above.
Thanks

from appium-flutter-driver.

ahashmi24 avatar ahashmi24 commented on May 20, 2024

Hi @truongsinh
I have tried to execute your java example code after installing appium-flutter-driver as mentioned in link and setting up the maven dependencies by keeping 'repository' folder in my local machine. However, I am getting issue "UnhandledPromiseRejectionWarning: Error: "ext.flutter.driver" is not found in "extensionRPCs"" after launching the android app on real device.

You can see the complete log below:
https://gist.github.com/ahashmi24/1d77c19f6dfba4648f8202a169c50bda

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

@ahashmi24 where you got repository folder. Can you help me with the link. As I am trying to build jar but stuck due to above error.

from appium-flutter-driver.

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.