Open dlazerka opened 9 years ago
I got the same error,
I can't build apk...
Up !
i couldn't generate apk , what shall i do ? i hadn't this error on my simulator.
Similar error, unable to generate a signed APK for deployment. Error : Error:(758) Error: Suspicious method call in TwoWayAdapterView.java; should probably call "layout" rather than "onLayout" [WrongCall]
in TwoWayAdapterView .... i changed onLayout to layout .... also the "false" variable is redundant and the layout method just need get left ,right,top and bottom i generated apk with no error
@imikm I tried that. Building a development build is easy. The hard part is if you attempt to build a signed APK for Play Store release. It just won't work, will continue giving the error I posted above.
Hi Jess, I don't know how to use this library in my project, (copy-pasting the code doesn't feel right). So I tried to add a library module (using
git submodule
to keep it up-to-date). However, when I selected "Import existing Eclipse ADT or Gradle project as a module", it asked me for Eclipse installation location (I don't have any). So I decided to create a build.gradle file (anyway Android is going the Gradle way, whether we want it or not). I had hard time figuring out proper settings, but finally found that someone already did that: https://github.com/AppFellas/TwoWayGridViewGradle/blob/master/build.gradle So I created a build.gradle file (below), but there's one problem, it throws a fatal Lint error, along with some non-fatal. Here it is:To reproduce this, go to /lib, place the build.gradle there, and run
gradle build
. Gradle version is 2.3, though I doubt that matters.