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
Update settings to reduce the number of steps needed to set up
Update AndroidManifest.xml to target version 23 (for DocumentsContract to work), which means we can elimnate step 13
Update pom.xml to use bytecode version 1.8, so we can eliminate step 12 and 14
Update README.md to reflect these changes
Set the ``Project SDK`` to ``Maven Android API 23 Platform`` or ``Android API 23 Platform``.
55
-
14. Set the language levels. On the sidebar go to ``Project Settings`` > ``Modules``.
56
-
Select the ``Sources`` tab on the right pane
57
-
Go through ``commons``, ``commons-parent``, ``~apklib-com.actionbarsherlock_actionbarsherlock_4.4.0``, and ``~apklib-com.viewpagerindicator_library_2.4.1``. For all of them set ``Language level`` to ``Project default (8 - Lambdas, type annotations etc.)``
58
-
15. Set the Module SDKs.
45
+
12. Set the Module SDKs.
59
46
Select the ``Dependencies`` tab on the right pane.
60
47
Set the modules as follows:
61
48
@@ -66,14 +53,14 @@ Initially started by the Wikimedia Foundation, this app is now maintained by vol
66
53
|~apklib-com.actionbarsherlock_actionbarsherlock_4.4.0 | Maven Android API 14 Platform |
67
54
|~apklib-com.viewpagerindicator_library_2.4.1 | Maven Android API 16 Platform |
68
55
69
-
If these modules are not available, install the correct API levels through the SDK manager. To do this do the following:
56
+
If certain modules are not available, install the correct API levels through the SDK manager. To do this do the following:
* Tick the boxes for API levels ``14``, ``16``, and ``23`` (or Android ``4.0``, ``4.1.2`` and ``6.0``).
73
60
* Then click ``OK``, and allow it to download the new APIs. Once it has finished, click ``File`` > ``Project Structure`` > ``Project Settings`` > ``Modules``, and repeat step 15.
74
-
16. Select ``commons``. Click the green ``+`` button on the right. Select ``JARs or directories...``. Choose the ``apps-android-commons/lib`` folder. Select ``OK``.
75
-
17. Select ``OK`` to save your changes to the project structre settings.
76
-
18. To test it worked, check if it builds (Select ``commons`` on the projects panel. Select ``Build`` > ``Make Module 'commons'``). If there are no errors (warnings are OK) you're set!
61
+
13. Select ``commons``. Click the green ``+`` button on the right. Select ``JARs or directories...``. Choose the ``apps-android-commons/lib`` folder. Select ``OK``.
62
+
14. Select ``OK`` to save your changes to the project structre settings.
63
+
15. To test it worked, check if it builds (Select ``commons`` on the projects panel. Select ``Build`` > ``Make Module 'commons'``). If there are no errors (warnings are OK) you're set!
0 commit comments