Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

false positive threat detection #13

Open
PrestigeDevop opened this issue Aug 31, 2022 · 5 comments
Open

false positive threat detection #13

PrestigeDevop opened this issue Aug 31, 2022 · 5 comments

Comments

@PrestigeDevop
Copy link

Hello , is there any reported case about potential threat when building to android emulator ?

I'm not sure why this considered a threat but want know if this file is from fuse jdk or other resources ?
is it safe to keep it seems that it interrupts the build process

image

@mortend
Copy link
Member

mortend commented Sep 1, 2022

Hello @PrestigeDevop,

I have never heard about this file before so all I can tell is that it's a JAR file, possibly downloaded automatically during the build process.

This seems like a false positive as you said.

  • Is it possible to "See details" about the file? What is the location? Where is it from?

Ideas that might help:

  • Disable Avira before starting the build.

  • Try a different version of OpenJDK, or install Android Studio (includes compatible JDK).

Cheers!

@PrestigeDevop
Copy link
Author

  • of OpenJDK, or install Android Studio (includes compatible JDK

Thanks for replying , I used this project [Fuse Shader Playground] it's probably where it comes from , I've no idea how to change the openJDK (I've already tried and failed ) as I've asked in the forum [Here] I used Unity's Version of Open JDK no luck , so I tried the default settings

@mortend
Copy link
Member

mortend commented Sep 1, 2022

There's a slightly more updated version of the repo here: https://github.com/fuse-apps/fuse-shader-playground

Another idea is to see if you're able to build that repo from the command-line, following the instructions in README:

npm install
npm run android

@PrestigeDevop
Copy link
Author

There's a slightly more updated version of the repo here: https://github.com/fuse-apps/fuse-shader-playground

Another idea is to see if you're able to build that repo from the command-line, following the instructions in README:

npm install
npm run android

both has same issue , and both command CLI and the fuseX editor command has same output ..


> android
> uno build android --run

Uno 2.0.0-beta.9 (build 881) Windows 10 x64 6ca0eb2
Copyright (C) 2018-present Fuse Open

Configuring  0.47 s
Compiling syntax tree  1.99 s
Generating code and data  2.84 s
Building android app (debug)
Using C:\Users\hi\AppData\Local\Android\sdk\cmake\3.10.2.4988404
This app only has 32-bit [armeabi-v7a] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE
> Task :app:compileDebugJavaWithJavac UP-TO-DATE
> Task :app:generateJsonModelDebug UP-TO-DATE

> Task :app:externalNativeBuildDebug
Build shaderplayground_armeabi-v7a
ninja: no work to do.

> Task :app:compileDebugSources
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders UP-TO-DATE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets UP-TO-DATE
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:mergeDebugJavaResource UP-TO-DATE
> Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
> Task :app:checkDebugDuplicateClasses UP-TO-DATE
> Task :app:multiDexListDebug UP-TO-DATE
> Task :app:mergeDexDebug UP-TO-DATE
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:signingConfigWriterDebug UP-TO-DATE
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :app:mergeDebugNativeLibs UP-TO-DATE
> Task :app:stripDebugDebugSymbols UP-TO-DATE
> Task :app:packageDebug FAILED
26 actionable tasks: 2 executed, 24 up-to-date
> 3.65 s

Build failed in 8.97 seconds
    1 error

@PrestigeDevop
Copy link
Author

PrestigeDevop commented Sep 29, 2023

the issue is till persistent , no matter what project I used , the building system just failed when targeting android ( both preview and build ) targets android emu - android .

I think the error due to cmake when include this file > F:\fuseXexample\weather-app\build\android\debug\app\build\intermediates\compressed_assets\debug\out\assets\diagnostics-46013124.js.jar

update , the error occur in wsl too
this file is included in every project build ... someone should know how to fix it other wise I can't learn fuse for mobile native ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants