1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-12 04:55:53 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Simon Frei
2942072594
Compile and target SDK version 31, increase min Sdk to 21 ()
The upgraded compile SDK requires an upgrade of gradle, which introduces a
build error with api lvl <21:
   > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml :
     Invalid color value ?attr/colorControlNormal
Explanation: https://stackoverflow.com/a/49501629

Also minor NDK update
2022-11-27 20:27:54 +01:00
Simon Frei
43a26ed855
build with java 11 2021-07-07 11:19:34 +02:00
Sumit Anantwar
e12663f321
Add Internal Activity for QR Code Scanner ()
* add internal QR Scanner Activity

* add CAMERA permission to Manifest

* add dimension for Button Height

* remove non-existent RestartActivity from Manifest

* accept licenses for Android SDK 29

* rollback gradle to 3.6.3

* add dependency for zxing:core:3.3.0 to support Android API 14+
2020-10-09 07:52:38 +01:00
dependabot-preview[bot]
d657bfdc09
Bump dependencies (AndroidX, com.github.triplet.play 2.7.5, gradle 3.6.3) ()
* Bump com.github.triplet.play from 2.5.0 to 2.7.5

Bumps com.github.triplet.play from 2.5.0 to 2.7.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix com.github.triplet.play dependency setup

* gradle-wrapper.properties: Update gradle 6.0.1 > 6.2.2

from: 5ad55348b8

* build.gradle: Update "com.android.tools.build:gradle" from 3.5.3 to 3.6.3

* gradle.properties: + android.useAndroidX=true

* Migrate to AndroidX: import androidx.databinding.DataBindingUtil

* Create setenv.cmd

* Fix lint error: RtlCompat

Right-to-left text compatibility issues
../../src/main/res/layout/activity_firststart_slide1.xml:46: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 43             android:paddingLeft="@dimen/desc_padding"
 44             android:paddingRight="@dimen/desc_padding"
 45             android:text="@string/welcome_text"
 46             android:textAlignment="center"

 47             android:textColor="@android:color/white"
 48             android:textSize="@dimen/slide_desc" />
 49
../../src/main/res/layout/activity_firststart_slide2.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/storage_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/activity_firststart_slide3.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/location_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/fragment_external_versioning.xml:11: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
  8         android:layout_height="wrap_content"
  9         android:layout_margin="10dp"
 10         android:text="@string/command"
 11         android:textAlignment="center"

 12         android:textColor="@android:color/black"
 13         android:textSize="18sp"
 14         android:textStyle="bold" />
../../src/main/res/layout/fragment_simple_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 20             android:layout_height="wrap_content"
 21             android:layout_margin="10dp"
 22             android:text="@string/keep_versions"
 23             android:textAlignment="center"

 24             android:textColor="@android:color/black"
 25             android:textSize="18sp"
 26             android:textStyle="bold" />
../../src/main/res/layout/fragment_staggered_versioning.xml:17: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 14             android:layout_width="match_parent"
 15             android:layout_height="wrap_content"
 16             android:text="@string/maximum_age"
 17             android:textAlignment="center"

 18             android:textColor="@android:color/black"
 19             android:textSize="18sp"
 20             android:textStyle="bold"
../../src/main/res/layout/fragment_staggered_versioning.xml:44: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 41             android:layout_height="wrap_content"
 42             android:layout_margin="10dp"
 43             android:text="@string/versions_path"
 44             android:textAlignment="center"

 45             android:textColor="@android:color/black"
 46             android:textSize="18sp"
 47             android:textStyle="bold"
../../src/main/res/layout/fragment_trashcan_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"

* AndroidManifest: Add permission ACCESS_FINE_LOCATION

Ref.: 5755ed45ad

* Migrate to AndroidX, solves lint error "IncompatibleGradle"

according to:
- b04489e062

* Fix lint error: MissingPermission, catch SecurityException

* Revert "Create setenv.cmd"

This reverts commit e39c460837.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Catfriend1 <Catfriend1@users.noreply.github.com>
2020-05-17 15:04:32 +01:00
Simon Frei
15e5d42330
Update gradle () 2019-09-10 20:06:45 +02:00
Simon Frei
5194c03bd9 Update gradle wrapper () 2019-06-05 15:58:47 +01:00
Audrius Butkevicius
c0ed488fb6 Update gradle-wrapper.properties () 2019-06-05 13:47:34 +02:00
Martin Carpella
a82aa49f52 Fix Android Studio 3.1.3 build-tool warnings () 2018-06-12 18:28:03 +01:00
9671bc584a Updated dependencies 2017-11-13 09:46:29 +09:00
f7032a832b Update dependencies 2017-07-19 12:37:47 +09:00
9e914e5244 Updated dependencies 2017-04-11 13:17:39 +09:00
caaef41af3 Updated gradle 2017-01-26 11:38:17 +09:00
80a269440f Updated sdk version and target version 2016-10-20 18:18:23 +09:00
d5501f5696 Updated dependencies. 2016-08-16 17:32:09 +02:00
Lars K.W. Gohlke
6a09c3d18f upgrades latest gradle and build tools
* upgrades latest gradle and build tools

* restore part of the previous removed comment
2016-06-25 14:14:21 +02:00
419f973e65 Downgrade build tools to 1.3, enable res cruncher (fixes ). 2016-05-04 03:31:16 +02:00
80b0578b73 Updated dependencies. 2016-04-13 23:18:38 +02:00
56ea6ab60b Updated dependencies. 2016-02-01 15:26:31 +01:00
1971867233 Updated dependencies. 2015-11-09 02:16:47 +01:00
82ccd340bf Updated gradle version. 2015-09-09 09:55:10 +02:00
864c5f9196 Don't monitor MODIFY events (fixes ). 2015-07-27 21:57:13 +02:00
de99288d0d Updated gradle version. 2015-07-02 17:02:32 +02:00
e5209066ee Updated dependencies and gradle wrapper. 2014-12-07 11:58:54 +02:00
87a21e2b85 Use gradle wrapper. 2014-10-18 14:58:10 +03:00
Lode Hoste
9f4bb9923b Prepare building environment for F-Droid. 2014-08-20 23:58:28 +02:00