-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Support #19
Comments
Hi. Thanks for reporting. I haven't tried using it in an Android project, but I'll look into it. |
Perfect. Thanks. |
I can't seem to reproduce this issue using latest Android Studio I used this sample project to run the tests: https://github.com/android/testing-samples/tree/master/unit/BasicSample And the test:
prints out:
Tried running both from command line and the IDE. |
Hi @serpro69 , I replicated this issue on my android project but I do not have time now to replicate using another project of Android. I am sorry for that. But If you see this "test" project you can see the same problem. This is a maven project with spring. Please let me know if it is a missing dependency or if I need to use another version of the Faker library. Thanks. |
Thanks @eugenio1590, I'll check it out. |
I couldn't reproduce the issue with your test project either. Here's the full output of the test run (I've added a printout for the
|
Could this #20 be related? Can you try explicitly setting the |
Ok, I am using Intellij to run the tests. I can try using the command line to verify it. |
I tried both actually. But yes, it could be something wrong with your intellij setup. |
I get the same error. You can close this issue for now if you want. Thanks for your help. |
I don't mind keeping it open for awhile, but I need more details to reproduce it. |
I've tried to reproduce it on a VM box with a spring-boot maven project and it works there as well, hence closing this as not reproducible. |
I ran into the same problem. I think this is a bug that only happens in the windows environment. @serpro69 Is it possible to re-open this? |
@mcheung610 , I've re-opened this, but I'm not sure how to reproduce it. I don't have a windows machine and virtualbox was broken in Ubuntu 2004 for me last time that I checked it. I'll try to check it once more when I have the time, but feel free to submit a PR for the fix also. |
@mcheung610 / @eugenio1590 , I've made another fix for android in #90 . Can you try to run latest version and see if this issue still persists with that fix? |
This issue has been w/o action for quite some time now, so I'm going to close it. |
I have a maybe similar problem. By invoke |
Hi @drindt , kotlin-faker/core/src/main/resources/locales/en/address.yml Lines 1832 to 1836 in 97ff39e
I suppose the "others" that do work for you don't invoke functions from other providers (like in this case address.city() will call i.e. name.firstName() ), which is why they might work and city() not. The question is, why city() doesn't work... :)Would you be able to provide an example repo where this can be reproduced? |
Hi @serpro69
Can I use this library in an android project? Currently, I added this dependency and I get the following error:
faker.internet.email()
The text was updated successfully, but these errors were encountered: