Impossible to compile APK with PDF Viewer Android Object

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • The program is simple: load a pdf file, but the error to compile:

    ---------------------

    > Task :app:preBuild UP-TO-DATE
    > Task :app:preDebugBuild UP-TO-DATE
    > Task :app:compileDebugRenderscript NO-SOURCE
    > Task :app:generateDebugResValues
    > Task :app:generateDebugResources
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:processApplicationManifestDebugForBundle
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:compileDebugAidl NO-SOURCE
    > Task :app:checkDebugDuplicateClasses
    > Task :app:generateDebugBuildConfig
    > Task :app:javaPreCompileDebug
    > Task :app:checkDebugAarMetadata
    > Task :app:mergeDebugResources
    > Task :app:mergeDebugJavaResource
    > Task :app:mergeDebugJniLibFolders
    > Task :app:writeDebugAppMetadata
    > Task :app:parseDebugIntegrityConfig
    > Task :app:processDebugManifestForPackage
    > Task :app:desugarDebugFileDependencies
    > Task :app:mergeDebugNativeLibs

    > Task :app:stripDebugDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.

    > Task :app:bundleDebugResources
    > Task :app:mergeExtDexDebug
    > Task :app:processDebugResources

    > Task :app:compileDebugJavaWithJavac
    C:\Users\al\AppData\Local\Temp\And1921.tmp\app\src\main\java\Extensions\CRunPDFViewer.java:84: error: cannot find symbol
    if(!MMFRuntime.inst.verifyOkPermissionsApi23(permissionsApi23)){
    ^
    symbol: method verifyOkPermissionsApi23(java.util.HashMap<java.lang.String,java.lang.String>)
    location: variable inst of type Runtime.MMFRuntime
    C:\Users\al\AppData\Local\Temp\And1921.tmp\app\src\main\java\Extensions\CRunPDFViewer.java:116: error: method renderImage in class OpenGL.GLRenderer cannot be applied to given types;
    GLRenderer.inst.renderImage(mImage, drawX, drawY, -1, -1, 0, 0);
    ^
    required: OpenGL.ITexture,boolean,int,int,int,int,int,int
    found: Banks.CImage,int,int,int,int,int,int
    reason: actual and formal argument lists differ in length
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors

    > Task :app:compileDebugJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at Please login to see this link.

    BUILD FAILED in 6s
    25 actionable tasks: 25 executed

    -----------------------------

    Thanks for a soluce

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!