You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
11
11
12
12
# Setup
13
13
14
-
## Integration into a new Flutter app
14
+
## Integration into a New Flutter App
15
15
16
16
### Android
17
17
@@ -32,7 +32,7 @@ Let's create a simple app that integrates PSPDFKit and uses the Flutter pspdfkit
32
32
```local.properties
33
33
sdk.dir=/path/to/your/Android/sdk
34
34
flutter.sdk=/path/to/your/flutter/sdk
35
-
pspdfkit.password=YOUR_PASSWORD_GOES_HERE
35
+
pspdfkit.password=YOUR_MAVEN_KEY_GOES_HERE
36
36
flutter.buildMode=debug
37
37
```
38
38
@@ -369,3 +369,35 @@ showDocument() async {
369
369
# Contributing
370
370
371
371
Please ensure [you signed our CLA](https://pspdfkit.com/guides/web/current/miscellaneous/contributing/) so we can accept your contributions.
372
+
373
+
# Troubleshooting
374
+
375
+
## Flutter Updates
376
+
377
+
To update Flutter to the latest version, all you have to do is run `flutter upgrade`.
378
+
379
+
## Flutter Configuration Problems
380
+
381
+
Among the tools provided by Flutter, there is `flutter doctor`, a very handy program that checks your system configuration for you and provides step-by-step actions to take in case of problems.
382
+
383
+

384
+
385
+
The verbose mode of flutter doctor is even more helpful; it prints out extensive information about the nature of an issue and how to fix it. To run the verbose mode, all you have to do is type `flutter doctor -d`.
386
+
387
+
### CocoaPods Conflicts With Asdf
388
+
389
+
If [asdf](https://github.com/asdf-vm/asdf) is installed in your machine it might create problems when running Cocoapods, and Flutter will erroneusly suggest to install CocoaPods via brew with `brew install cocoapods`. This won't work because for this specific configuration CocoaPods needs to be installed via [RubyGems](https://rubygems.org/). To fix this configuration issue just type `gem install cocoapods && pod setup`.
390
+
391
+
## Error When Running on Android: Cannot Find Symbol `PSPDFKit`
392
+
393
+
Verify that your Maven key has been correctly inserted in your `myapp/android/local.properties`
394
+
395
+
```local.properties
396
+
sdk.dir=/path/to/your/Android/sdk
397
+
flutter.sdk=/path/to/your/flutter/sdk
398
+
pspdfkit.password=YOUR_MAVEN_KEY_GOES_HERE
399
+
flutter.buildMode=debug
400
+
```
401
+
402
+
Make sure that the Maven key has not been confused with the license key. The Maven key is generally shorter and for demo licenses it starts with `TRIAL-`.
0 commit comments