Skip to content
This repository was archived by the owner on Feb 6, 2021. It is now read-only.

Commit 189937a

Browse files
authored
Update README.md
1 parent b483f17 commit 189937a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,27 @@ class TestFragment : Fragment(R.layout.fragment_test) {
5454
```
5555
Incase of fragments Use onViewCreated instead of onCreateView. UI for the fragment is taken care by the library you need not to use onCreateView for initializing the UI for fragment.
5656

57+
#### Quick Fixes
58+
- If you are facing this error
59+
60+
```error
61+
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
62+
```
63+
Then update your JVM target to 1.8 in the app level build.gradle file
64+
65+
```gradle
66+
android{
67+
...
68+
compileOptions {
69+
sourceCompatibility JavaVersion.VERSION_1_8
70+
targetCompatibility JavaVersion.VERSION_1_8
71+
}
72+
kotlinOptions {
73+
jvmTarget = '1.8'
74+
}
75+
}
76+
```
77+
5778
## License
5879

5980
Copyright (c) 2021 Abhinav

0 commit comments

Comments
 (0)