Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upProguard issue: Warning: can't find referenced method 'android.net.Network getNetwork()' #34
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
WiMank
commented
Jun 25, 2018
|
I have a similar problem. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
zNoobs
Jun 28, 2018
Me too, it's in androidx\work\impl\background\systemjob\SystemJobService.java, l101:
if (Build.VERSION.SDK_INT >= 28) {
runtimeExtras.network = params.getNetwork();
}
You can ignore this warning by adding "-ignorewarnings" in your proguard file config.
Or you can, and I think it's the best solution, target/compile with the SDK 28.
zNoobs
commented
Jun 28, 2018
|
Me too, it's in androidx\work\impl\background\systemjob\SystemJobService.java, l101:
You can ignore this warning by adding "-ignorewarnings" in your proguard file config. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
patelviraj
Jun 28, 2018
Increasing compileSdkVersion to 28 and updating the Support Libraries to a 28.x.x version solved the issue.
Current Support Library is: 28.0.0-alpha3
Please check this link: https://issuetracker.google.com/issues/110561160
patelviraj
commented
Jun 28, 2018
|
Increasing compileSdkVersion to 28 and updating the Support Libraries to a 28.x.x version solved the issue. |
patelviraj commentedJun 25, 2018
Warning:androidx.work.impl.background.systemjob.SystemJobService: can't find referenced method 'android.net.Network getNetwork()' in library class android.app.job.JobParameters