-
Notifications
You must be signed in to change notification settings - Fork 352
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
Unable to get provider #10
Comments
I found the resolution to this and posted it on Stack Overflow in response to a question there |
This issue stems from annotation processing now being included in Gradle from version 2.2. You can fix project and get it running with the following changes. Project level "build.gradle" remove this line: classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2' apply plugin: 'android-apt' apt 'net.simonvt.schematic:schematic-compiler:0.6.3' |
This is probably because you have not downloaded this package yet. Try
disabling offline mode and rebuilding the project again.
To disable offline mode
File>settings>build debugging and deployment> gradle> uncheck offline
On 24 Jan 2018 17:45, "Oleksandr Parnekov" <[email protected]> wrote:
Hello! After building project and generate Content Provider I have error
Package net.simonvt.schematic.utils does not exist
[image: image]
<https://user-images.githubusercontent.com/29271613/35338190-edb56c44-0125-11e8-9d70-9b22738a87c2.png>
What is the problem here? Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQY5Oj6M2oyGP-WbtLY_uFbAt72Ihferks5tN0IYgaJpZM4QWnyV>
.
|
@drspaceboo Thank that helped me. |
In the manifest. Why is the content provided called .provider.generated.SquawkProvider instead of .provider.SquawkProvider or even better .SquawkProvider ? |
FATAL EXCEPTION: main Process: android.example.com.squawker, PID: 11340 java.lang.RuntimeException: Unable to get provider android.example.com.squawker.provider.generated.SquawkProvider
The text was updated successfully, but these errors were encountered: