SAF:Storage/Documents/Cxxdroid/ApkCompiling:1:1: error: C++ requires a type specifier for all declarations
cmake_minimum_requried(VERSION 3.10.2)
^
SAF:Storage/Documents/Cxxdroid/ApkCompiling:1:24: error: use of undeclared identifier 'VERSION'
cmake_minimum_requried(VERSION 3.10.2)
                       ^
SAF:Storage/Documents/Cxxdroid/ApkCompiling:1:39: error: expected ';' after top level declarator
cmake_minimum_requried(VERSION 3.10.2)
                                      ^
                                      ;
3 errors generated исправь ошибки в данном коде, переписав его: cmake_minimum_requried(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        cmake_minimum_required(VERSION 3.10.2)
project(myapp)

add_library(myapp SHARED src/main/cpp/native-lib.cpp)

find_library(log-lib log)

target_link_libraries(myapp ${log-lib})

add_definitions(-DVERSION_NAME="${defaultConfig.versionName}")

add_custom_command(TARGET myapp POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy
        $lt;Tlt;TARGETlt;TARGET_FILElt;TARGET_FILE:lt;TARGET_FILE:mylt;TARGET_FILE:myapplt;TARGET_FILE:myapp>
lt;TARGET_FILE:myapp>
       lt;TARGET_FILE:myapp>
        ${lt;TARGET_FILE:myapp>
        ${Clt;TARGET_FILE:myapp>
        ${CMAKElt;TARGET_FILE:myapp>
        ${CMAKE_SOURCElt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIRlt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apklt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/mylt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapplt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultlt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfiglt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionlt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionNamelt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.apklt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.apk
lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.apk
)
lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.apk
)
``lt;TARGET_FILE:myapp>
        ${CMAKE_SOURCE_DIR}/../apk/myapp-${defaultConfig.versionName}.apk
)