question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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()

java.util.NoSuchElementException: Category with name 'NAME' not found

	at io.github.serpro69.kfaker.FakerService.fetchCategory(FakerService.kt:130)
	at io.github.serpro69.kfaker.provider.AbstractFakeDataProvider$resolve$1.invoke(AbstractFakeDataProvider.kt:54)
	at io.github.serpro69.kfaker.provider.AbstractFakeDataProvider$resolve$1.invoke(AbstractFakeDataProvider.kt:14)
	at io.github.serpro69.kfaker.provider.AbstractFakeDataProvider.returnOrResolveUnique(AbstractFakeDataProvider.kt:116)
	at io.github.serpro69.kfaker.provider.AbstractFakeDataProvider.returnOrResolveUnique$default(AbstractFakeDataProvider.kt:109)
	at io.github.serpro69.kfaker.provider.AbstractFakeDataProvider.resolve(AbstractFakeDataProvider.kt:67)
	at io.github.serpro69.kfaker.provider.Name.name(Name.kt:19)
	at io.github.serpro69.kfaker.provider.Internet.email(Internet.kt:20)
	at io.github.serpro69.kfaker.provider.Internet.email$default(Internet.kt:18)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
eugenio1590commented, Feb 6, 2020

I get the same error. You can close this issue for now if you want. Thanks for your help.

1reaction
serpro69commented, Feb 6, 2020

Thanks @eugenio1590, I’ll check it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Help - Google Help
Official Android Help Center where you can find tips and tutorials on using Android and other answers to frequently asked questions.
Read more >
Support Library - Android Developers
This document provides an overview of the support library to help you understand its components and how to use it effectively in your...
Read more >
Phone > Android - Support.com TechSolutions
This guide will help you solve problems you may have with your Android device not sending, receiving, or syncing your email. Troubleshoot.
Read more >
Android Support - Verizon
Android ™ Support. Explore more ways to enjoy your mobile life with Android operating system (OS). Each new Android OS version provides more...
Read more >
Google Support Services - Apps on Google Play
The Google Support Services (GSS) app allows you to share your Android device screen with a Google customer support agent for a personalized ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found