Help with android build

I have problems to build the app in android
when compiling I have these warnings:

in the build logs have this
[stderr] Unable to get progress logger. Download progress will not be displayed.
:ReactAndroid:prepareBoost
:ReactAndroid:downloadDoubleConversion
[stderr] Note: Some input files use or override a deprecated API.
[stderr] Note: Recompile with -Xlint:deprecation for details.
[stderr] Note: Some input files use unchecked or unsafe operations.
[stderr] Note: Recompile with -Xlint:unchecked for details.
[stderr] warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.ExponentKernel$Database
[stderr] warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.ExponentKernel$Database
[stderr] warning: File for type ‘com.raizlabs.android.dbflow.config.GeneratedDatabaseHolder’ created in the last round will not be subject to annotation processing.
[stderr] Note: Some input files use or override a deprecated API.
[stderr] Note: Recompile with -Xlint:deprecation for details.
[stderr] Note: Some input files use unchecked or unsafe operations.
[stderr] Note: Recompile with -Xlint:unchecked for details.
[stderr] 3 warnings
[stderr] /src/exponent/android-shell-app/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/AlertFragment.java:37: Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]
[stderr] public AlertFragment(@Nullable DialogModule.AlertFragmentListener listener, Bundle arguments) {
[stderr] ~~~~~~~~~~~~~
[stderr] /src/exponent/android-shell-app/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/SupportAlertFragment.java:30: Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]
[stderr] public SupportAlertFragment(@Nullable DialogModule.AlertFragmentListener listener, Bundle arguments) {
[stderr] ~~~~~~~~~~~~~~~~~~~~
[stderr] Explanation for issues of type “ValidFragment”:
[stderr] From the Fragment documentation:
[stderr] Every fragment must have an empty constructor, so it can be instantiated
[stderr] when restoring its activity’s state. It is strongly recommended that
[stderr] subclasses do not have other constructors with parameters, since these
[stderr] constructors will not be called when the fragment is re-instantiated;
[stderr] instead, arguments can be supplied by the caller with setArguments(Bundle)
[stderr] and later retrieved by the Fragment with getArguments().
[stderr] Fragment  |  Android Developers
[stderr] 2 errors, 0 warnings

my package.json

{
“name”: “misuraapp”,
“version”: “2.5.0”,
“private”: true,
“devDependencies”: {
“babel-eslint”: “7.2.3”,
“eslint”: “4.4.1”,
“eslint-plugin-flowtype”: “2.35.0”,
“eslint-plugin-import”: “2.7.0”,
“eslint-plugin-jsx-a11y”: “6.0.2”,
“eslint-plugin-prettier”: “2.1.2”,
“eslint-plugin-react”: “7.1.0”,
“eslint-plugin-react-native”: “3.0.1”,
“flow-bin”: “0.52.0”,
“flow-typed”: “2.1.5”,
“husky”: “0.14.3”,
“jest”: “20.0.4”,
“jest-expo”: “25.0.0”,
“prettier”: “1.5.3”,
“react-native-scripts”: “1.11.1”,
“react-test-renderer”: “16.2.0”
},
“main”: “./node_modules/react-native-scripts/build/bin/crna-entry.js”,
“scripts”: {
“start”: “react-native-scripts start”,
“eject”: “react-native-scripts eject”,
“android”: “react-native-scripts android”,
“ios”: “react-native-scripts ios”,
“test”: “node node_modules/jest/bin/jest.js --watch”
},
“jest”: {
“preset”: “jest-expo”
},
“dependencies”: {
“ajv”: “^6.0.0”,
“color”: “^3.0.0”,
“expo”: “25.0.0”,
“faker”: “^4.1.0”,
“lodash”: “^4.17.10”,
“moment”: “^2.22.2”,
“native-base”: “2.4.1”,
“react”: “^16.4.1”,
“react-native”: “^0.52.0”,
“react-native-banner-carousel”: “^1.0.3”,
“react-native-bar-collapsible”: “^1.6.0”,
“react-native-webview-autoheight”: “^1.0.5”,
“react-navigation”: “1.5.0”,
“react-redux”: “^5.0.7”,
“redux”: “^4.0.0”,
“redux-saga”: “^0.16.0”,
“sagas”: “^0.0.1”,
“tap-spec”: “^4.1.2”,
“tape”: “^4.9.0”,
“uglify-es”: “^3.3.9”
}
}

I appreciate any help

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.