This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flutter crash report; please file at https://github.com/flutter/flutter/issues. | |
## command | |
flutter build apk --flavor=dev -t lib/main-dev.dart -v | |
## exception | |
NoSuchMethodError: NoSuchMethodError: The method 'copySync' was called on null. | |
Receiver: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ flutter build apk --flavor=app1 -v | |
[ +26 ms] executing: [/Users/nate.eisner/dev/flutter/] git log -n 1 --pretty=format:%H | |
[ +31 ms] Exit code 0 from: git log -n 1 --pretty=format:%H | |
[ ] dfecafa4ab30f9c509ce409241000cdd785ef23d | |
[ ] executing: [/Users/nate.eisner/dev/flutter/] git describe --match v*.*.* --first-parent --long --tags | |
[ +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags | |
[ ] v1.7.4-0-gdfecafa4a | |
[ +12 ms] executing: [/Users/nate.eisner/dev/flutter/] git rev-parse --abbrev-ref --symbolic @{u} | |
[ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} | |
[ ] origin/dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ flutter doctor -v | |
[✓] Flutter (Channel dev, v1.7.4, on Mac OS X 10.14.5 18F203, locale en-US) | |
• Flutter version 1.7.4 at /Users/nate.eisner/dev/flutter | |
• Framework revision dfecafa4ab (3 days ago), 2019-06-14 09:46:23 -0700 | |
• Engine revision 2589785b5c | |
• Dart version 2.4.0 | |
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0) | |
• Android SDK at /Users/nate.eisner/Library/Android/sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeScreen { | |
private RecyclerView recyclerView; | |
private GestureDetectorCompat gestureDetector; | |
public void bind() { | |
gestureDetector = new GestureDetectorCompat(this, new RecyclerViewGestureListener()); | |
} | |
private void recyclerItemTap(View item) { | |
int position = recyclerView.getChildAdapterPosition(view); |