DroidPlanner / Tower

Ground Control Station for Android Devices
https://play.google.com/store/apps/details?id=org.droidplanner.android
Other
619 stars 554 forks source link

Error:Error: Fragments should be static such that they can be re-instantiated by the system, and anonymous classes are not static [ValidFragment] #1798

Closed Jim-uav closed 7 years ago

guiseco commented 8 years ago

Thats lint error, to disable aborting on errors, add:

lintOptions { abortOnError false }

to build.gradle.

Jim-uav commented 8 years ago

@guiseco It was already in it, but it didn't work. image

m4gr3d commented 8 years ago

@Jim-uav what's this issue about? There's no description given.

Jim-uav commented 8 years ago

@ne0fhyk image

bitdust commented 7 years ago

also have the same problem

Linjieqiang commented 7 years ago

also have the same problem

guiseco commented 7 years ago

Same problem to me.

bitdust commented 7 years ago

i just solve it by add "checkReleaseBuilds false" in lintOptions

like this: image

m4gr3d commented 7 years ago

Can you all try with the standalone branch. I pushed an update that should also fix the issue.

bitdust commented 7 years ago

@ne0fhyk cool~it works.

m4gr3d commented 7 years ago

Fixed by commit d0abadce17ed05415ea406b13036695d5149a217