Upgrade app API level without Detaching from expo ???

hello everyone,

Can i upgrade targeted API level without detaching from expo ???

From August 2018, new apps must target at least Android 8.0 (API level 26) for google play Store.

I am asking because i getting this error when detaching from expo :

Moving Android project files...
Downloading Android code...

./maven/com/facebook/react/react-native/27.0.0/react-native-27.0.0.aar: (Empty error message)
tar: Error exit delayed from previous errors.
Process exited with non-zero code: 1
19:12:01 [exp] zlib: unexpected end of file
19:12:01 [exp] ZlibError: zlib: unexpected end of file
    at Zlib.(anonymous function).onerror (/usr/local/lib/node_modules/exp/node_modules/minizlib/index.js:131:21)
    at Unzip.write (/usr/local/lib/node_modules/exp/node_modules/minizlib/index.js:255:31)
    at Unzip.flush (/usr/local/lib/node_modules/exp/node_modules/minizlib/index.js:222:10)
    at Unzip.end (/usr/local/lib/node_modules/exp/node_modules/minizlib/index.js:229:10)
    at Unpack.end (/usr/local/lib/node_modules/exp/node_modules/tar/lib/parse.js:415:21)
    at Yallist.pipes.forEach.p (/usr/local/lib/node_modules/exp/node_modules/minipass/index.js:290:18)
    at Yallist.forEach (/usr/local/lib/node_modules/exp/node_modules/minipass/node_modules/yallist/yallist.js:154:8)
    at ReadStream.emit (/usr/local/lib/node_modules/exp/node_modules/minipass/index.js:287:18)
    at ReadStream.emit (/usr/local/lib/node_modules/exp/node_modules/fs-minipass/index.js:153:22)
    at ReadStream.[maybeEmitEnd] (/usr/local/lib/node_modules/exp/node_modules/minipass/index.js:257:12)

I don’t think this has to do w/ the API level (which we are upgrading in the next release coming soon). Maybe you need to clear some Maven caches?

Thanks for the replay, how can i achieve that ??
even a fresh project can’t detach becaause of the same error, ios builds fine, just when downloading android code it exits with this same stack trace.

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