lzhiyong / xedit-app

Android text editor
Apache License 2.0
5 stars 1 forks source link

Need apk to test #1

Open ArtsphereOfficial opened 1 month ago

ArtsphereOfficial commented 1 month ago

It is not compiling there is Unknown Bypass named issue while compiling...can you send me its latest apk?

lzhiyong commented 1 month ago

It is not compiling there is Unknown Bypass named issue while compiling...can you send me its latest apk?

You should provide the build information or logcat, rename the app-debug.zip to app-debug.apk

ArtsphereOfficial commented 1 month ago

Build Information

2024-09-21T15:34:47.9943164Z ##[group]Run ./gradlew assembleDebug ./gradlew assembleDebug shell: /usr/bin/bash -e {0} env: JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.12-7/x64 JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.12-7/x64 Checking the license for package Android SDK Platform-Tools in /usr/local/lib/android/sdk/licenses License for package Android SDK Platform-Tools accepted. Preparing "Install Android SDK Platform-Tools v.35.0.2". "Install Android SDK Platform-Tools v.35.0.2" ready. Installing Android SDK Platform-Tools in /usr/local/lib/android/sdk/platform-tools "Install Android SDK Platform-Tools v.35.0.2" complete. "Install Android SDK Platform-Tools v.35.0.2" finished.

Task :alerter:preBuild UP-TO-DATE Task :alerter:preDebugBuild UP-TO-DATE Task :alerter:mergeDebugJniLibFolders Task :alerter:mergeDebugNativeLibs NO-SOURCE Task :alerter:stripDebugDebugSymbols NO-SOURCE Task :alerter:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :alerter:copyDebugJniLibsProjectAndLocalJars Task :alerter:generateDebugResValues Task :alerter:generateDebugResources Task :alerter:packageDebugResources Task :alerter:extractDeepLinksForAarDebug Task :alerter:mergeDebugShaders Task :alerter:javaPreCompileDebug Task :alerter:compileDebugShaders NO-SOURCE Task :alerter:generateDebugAssets UP-TO-DATE Task :alerter:packageDebugAssets Task :alerter:prepareDebugArtProfile Task :alerter:prepareLintJarForPublish Task :app:preBuild UP-TO-DATE Task :app:preDebugBuild UP-TO-DATE Task :app:mergeDebugNativeDebugMetadata NO-SOURCE Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :alerter:parseDebugLocalResources Task :alerter:processDebugManifest Task :alerter:writeDebugAarMetadata Task :app:dataBindingMergeDependencyArtifactsDebug Task :app:generateDebugResValues Task :app:generateDebugResources Task :bypass:preBuild UP-TO-DATE Task :bypass:preDebugBuild UP-TO-DATE Task :bypass:generateDebugResValues Task :bypass:generateDebugResources Task :alerter:generateDebugRFile Task :bypass:packageDebugResources Task :crash:preBuild UP-TO-DATE Task :crash:preDebugBuild UP-TO-DATE Task :crash:generateDebugResValues Task :crash:generateDebugResources Task :crash:packageDebugResources Task :document:preBuild UP-TO-DATE Task :document:preDebugBuild UP-TO-DATE Task :document:generateDebugResValues Task :document:generateDebugResources Task :document:packageDebugResources Task :editor:preBuild UP-TO-DATE Task :editor:preDebugBuild UP-TO-DATE Task :editor:generateDebugResValues Task :editor:generateDebugResources Task :editor:packageDebugResources Task :piecetable:preBuild UP-TO-DATE Task :piecetable:preDebugBuild UP-TO-DATE Task :piecetable:generateDebugResValues Task :piecetable:generateDebugResources Task :piecetable:packageDebugResources

Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/nvim-treesitter'...

Task :treesitter:clone Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-c'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-cpp'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-java'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-python'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-rust'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-kotlin'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-bash'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-cmake'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-javascript'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-html'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-json'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-markdown'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-make'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-lua'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-swift'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-query'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-smali'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-c-sharp'... Cloning into '/home/runner/work/EditorX/EditorX/treesitter/src/main/cpp/treesitter/tree-sitter-go'... /usr/bin/git

please install the tree-sitter package

Task :treesitter:preBuild Task :treesitter:preDebugBuild Task :treesitter:generateDebugResValues Task :treesitter:generateDebugResources Task :treesitter:packageDebugResources

Task :alerter:compileDebugKotlin w: file:///home/runner/work/EditorX/EditorX/alerter/src/main/kotlin/io/github/module/alerter/Alert.kt:149:61 '@Deprecated(...) fun getRealMetrics(p0: DisplayMetrics!): Unit' is deprecated. Deprecated in Java.

Task :app:mergeDebugResources Task :alerter:extractDebugAnnotations Task :alerter:compileDebugJavaWithJavac NO-SOURCE Task :alerter:mergeDebugGeneratedProguardFiles Task :alerter:mergeDebugConsumerProguardFiles Task :alerter:processDebugJavaRes Task :alerter:bundleLibCompileToJarDebug Task :alerter:mergeDebugJavaResource Task :app:packageDebugResources Task :alerter:syncDebugLibJars Task :alerter:bundleDebugAar Task :alerter:assembleDebug Task :bypass:parseDebugLocalResources Task :app:parseDebugLocalResources Task :crash:dataBindingMergeDependencyArtifactsDebug Task :bypass:generateDebugRFile Task :crash:parseDebugLocalResources Task :document:dataBindingMergeDependencyArtifactsDebug Task :crash:dataBindingGenBaseClassesDebug Task :crash:generateDebugRFile Task :document:parseDebugLocalResources Task :bypass:dataBindingMergeDependencyArtifactsDebug Task :document:dataBindingGenBaseClassesDebug Task :document:generateDebugRFile Task :bypass:dataBindingGenBaseClassesDebug Task :editor:dataBindingMergeDependencyArtifactsDebug Task :editor:parseDebugLocalResources Task :piecetable:dataBindingMergeDependencyArtifactsDebug Task :piecetable:parseDebugLocalResources Task :piecetable:dataBindingGenBaseClassesDebug Task :editor:generateDebugRFile Task :piecetable:generateDebugRFile Task :treesitter:dataBindingMergeDependencyArtifactsDebug Task :editor:dataBindingGenBaseClassesDebug Task :treesitter:parseDebugLocalResources Task :treesitter:dataBindingGenBaseClassesDebug Task :bypass:writeDebugAarMetadata Task :treesitter:generateDebugRFile Task :crash:writeDebugAarMetadata Task :alerter:compileDebugLibraryResources Task :app:dataBindingGenBaseClassesDebug Task :document:writeDebugAarMetadata Task :editor:writeDebugAarMetadata Task :piecetable:writeDebugAarMetadata Task :treesitter:writeDebugAarMetadata Task :app:mapDebugSourceSetPaths Task :app:createDebugCompatibleScreenManifests Task :app:checkDebugAarMetadata Task :alerter:extractDeepLinksDebug Task :app:extractDeepLinksDebug Task :bypass:extractDeepLinksDebug Task :crash:extractDeepLinksDebug Task :crash:processDebugManifest Task :bypass:processDebugManifest Task :document:extractDeepLinksDebug Task :editor:extractDeepLinksDebug Task :document:processDebugManifest Task :piecetable:extractDeepLinksDebug Task :editor:processDebugManifest Task :treesitter:extractDeepLinksDebug Task :piecetable:processDebugManifest Task :bypass:compileDebugLibraryResources Task :treesitter:processDebugManifest Task :crash:compileDebugLibraryResources Task :document:compileDebugLibraryResources Task :app:processDebugMainManifest Task :app:processDebugManifest Task :app:processDebugManifestForPackage Task :crash:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :treesitter:compileDebugLibraryResources Task :piecetable:compileDebugLibraryResources Task :editor:compileDebugLibraryResources Task :document:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :crash:javaPreCompileDebug Task :document:javaPreCompileDebug Task :bypass:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :bypass:generateDebugBuildConfig

Task :crash:compileDebugKotlin w: file:///home/runner/work/EditorX/EditorX/crash/src/main/kotlin/io/github/module/crash/CrashReport.kt:67:9 '@Deprecated(...) constructor(): Handler' is deprecated. Deprecated in Java.

Task :crash:compileDebugJavaWithJavac NO-SOURCE Task :crash:bundleLibCompileToJarDebug Task :bypass:javaPreCompileDebug Task :editor:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :editor:generateDebugBuildConfig Task :piecetable:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :app:processDebugResources Task :piecetable:javaPreCompileDebug Task :editor:javaPreCompileDebug Task :treesitter:checkKotlinGradlePluginConfigurationErrors SKIPPED Task :bypass:compileDebugKotlin

Task :document:compileDebugKotlin w: file:///home/runner/work/EditorX/EditorX/document/src/main/kotlin/io/github/module/document/RawDocumentFile.kt:89:36 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.Array<(out) java.io.File!>?'.

Task :treesitter:compileDebugKotlin Task :bypass:compileDebugJavaWithJavac Task :document:compileDebugJavaWithJavac NO-SOURCE Task :document:bundleLibCompileToJarDebug Task :bypass:bundleLibCompileToJarDebug Task :treesitter:javaPreCompileDebug Task :piecetable:compileDebugKotlin Task :piecetable:compileDebugJavaWithJavac NO-SOURCE Task :app:javaPreCompileDebug Task :treesitter:compileDebugJavaWithJavac NO-SOURCE Task :piecetable:bundleLibCompileToJarDebug Task :treesitter:bundleLibCompileToJarDebug Task :app:mergeDebugShaders Task :app:compileDebugShaders NO-SOURCE Task :app:generateDebugAssets UP-TO-DATE Task :bypass:mergeDebugShaders Task :bypass:compileDebugShaders NO-SOURCE Task :bypass:generateDebugAssets UP-TO-DATE Task :bypass:packageDebugAssets Task :crash:mergeDebugShaders Task :crash:compileDebugShaders NO-SOURCE Task :crash:generateDebugAssets UP-TO-DATE Task :crash:packageDebugAssets Task :document:mergeDebugShaders Task :document:compileDebugShaders NO-SOURCE Task :document:generateDebugAssets UP-TO-DATE Task :document:packageDebugAssets Task :editor:mergeDebugShaders Task :editor:compileDebugShaders NO-SOURCE Task :editor:generateDebugAssets UP-TO-DATE Task :editor:packageDebugAssets Task :piecetable:mergeDebugShaders Task :piecetable:compileDebugShaders NO-SOURCE Task :piecetable:generateDebugAssets UP-TO-DATE Task :piecetable:packageDebugAssets Task :treesitter:mergeDebugShaders Task :treesitter:compileDebugShaders NO-SOURCE Task :treesitter:generateDebugAssets UP-TO-DATE Task :treesitter:packageDebugAssets Task :app:mergeDebugAssets Task :alerter:bundleLibRuntimeToJarDebug Task :crash:bundleLibRuntimeToJarDebug Task :app:compressDebugAssets Task :document:bundleLibRuntimeToJarDebug Task :piecetable:bundleLibRuntimeToJarDebug Task :treesitter:bundleLibRuntimeToJarDebug Task :bypass:bundleLibRuntimeToJarDebug Task :app:desugarDebugFileDependencies Task :bypass:processDebugJavaRes Task :crash:processDebugJavaRes Task :document:processDebugJavaRes Task :piecetable:processDebugJavaRes Task :treesitter:processDebugJavaRes Task :app:mergeDebugStartupProfile Task :crash:bundleLibRuntimeToDirDebug Task :alerter:bundleLibRuntimeToDirDebug Task :app:checkDebugDuplicateClasses

Task :editor:compileDebugKotlin w: file:///home/runner/work/EditorX/EditorX/editor/src/main/kotlin/io/github/module/editor/view/EditorView.kt:1267:20 '@Deprecated(...) @Nullable() static fun getWindowInsetsController(@NonNull() p0: View): WindowInsetsControllerCompat?' is deprecated. Deprecated in Java. w: file:///home/runner/work/EditorX/EditorX/editor/src/main/kotlin/io/github/module/editor/view/EditorView.kt:1271:20 '@Deprecated(...) @Nullable() static fun getWindowInsetsController(@NonNull() p0: View): WindowInsetsControllerCompat?' is deprecated. Deprecated in Java. w: file:///home/runner/work/EditorX/EditorX/editor/src/main/kotlin/io/github/module/editor/view/EditorView.kt:1869:9 A function is marked as tail-recursive but no tail calls are found. w: file:///home/runner/work/EditorX/EditorX/editor/src/main/kotlin/io/github/module/editor/view/EditorView.kt:1890:17 Recursive call is not a tail call.

Task :app:mergeExtDexDebug Task :editor:compileDebugJavaWithJavac Task :editor:bundleLibCompileToJarDebug Task :editor:bundleLibRuntimeToJarDebug Task :editor:processDebugJavaRes Task :editor:bundleLibRuntimeToDirDebug Task :document:bundleLibRuntimeToDirDebug Task :piecetable:bundleLibRuntimeToDirDebug Task :treesitter:bundleLibRuntimeToDirDebug Task :bypass:bundleLibRuntimeToDirDebug Task :alerter:copyDebugJniLibsProjectOnly Task :app:mergeDebugJniLibFolders Task :bypass:configureCMakeDebug[arm64-v8a] FAILED

Task :app:kaptGenerateStubsDebugKotlin w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.

FAILURE: Build failed with an exception. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 174 actionable tasks: 174 executed

BUILD FAILED in 1m 44s Process completed with exit code 1.

lzhiyong commented 1 month ago

CMake '3.25.1' was not found in SDK, PATH, or by cmake.dir property

there is no cmake 3.25.1, you need to install cmake or specify the cmake version, you own installed.

externalNativeBuild {
        cmake {
            path("src/main/cpp/CMakeLists.txt")          
            // try to comment the version or specify the your cmake version
            // note modify cmake version in libs.versions.toml file
            //version = libs.versions.cmake.get()
        }
    }
lzhiyong commented 1 month ago

you can add a local.properties file, like this

building it on linux

# android-sdk location
sdk.dir=/home/opt/android-sdk

# android-ndk location
ndk.dir=/home/opt/android-ndk-r27b

# cmake location
cmake.dir=/home/opt/android-sdk/cmake
lzhiyong commented 1 month ago

next time please submit a text files such as build_log.txt, output_log.txt etc, do not paste the build information directly

ArtsphereOfficial commented 1 month ago

It is not printing text while Predictive text is on when using Samsung, Redmi IMEs

ArtsphereOfficial commented 1 month ago

Please give support all Keyboards (IMEs)

lzhiyong commented 1 month ago

Please give support all Keyboards (IMEs)

I don't have the relevant devices to test, you can submit PR