Giter Club home page Giter Club logo

sketchware-pro's Introduction

Sketchware Pro

GitHub contributors GitHub last commit Discord server stats Total downloads Repository Size

Welcome to Sketchware Pro! Here you'll find the source code of many classes in Sketchware Pro and, most importantly, the place to contribute to Sketchware Pro.

Building the App

To build the app, you must use Gradle. It's highly recommended to use Android Studio for the best experience.

There are two build variants with different features:

  • minApi26: This variant supports exporting AABs from projects and compiling Java 1.8, 1.9, 10, and 11 code. However, it only works on Android 8.0 (O) and above.
  • minApi21: This variant can't produce AABs from projects and can only compile Java 1.7 code, but it supports Android 5 and above.

To select the appropriate build variant in Android Studio, use the Build Variants tab or use the appropriate Gradle build command.

Source Code Map

Class Role
a.a.a.ProjectBuilder Helper for compiling an entire project
a.a.a.Ix Responsible for generating AndroidManifest.xml
a.a.a.Jx Generates source code of activities
a.a.a.Lx Generates source code of components, such as listeners, etc.
a.a.a.Ox Responsible for generating XML files of layouts
a.a.a.qq Registry of built-in libraries' dependencies
a.a.a.tq Responsible for the compiling dialog's quizzes
a.a.a.yq Organizes Sketchware projects' file paths

Tip

You can also check the mod package, which contains the majority of contributors' changes.

Contributing

If you'd like to contribute to Sketchware Pro, follow these steps:

  1. Fork this repository.
  2. Make changes in your forked repository.
  3. Test out those changes.
  4. Create a pull request in this repository.
  5. Your pull request will be reviewed by the repository members and merged if accepted.

We welcome contributions of any size, whether they are major features or bug fixes, but please note that all contributions will be thoroughly reviewed.

What Changes We're Unlikely to Accept

Most changes related to the user interface (components that already exist in vanilla Sketchware) are unlikely to be accepted. If something design-related gets changed, ideally the whole app should follow the new style too, which is challenging, especially for mods.

Note

In the meantime, we don't accept UI changes in the main branch, but we do in the redesign branch since we're actively working on a material design version of Sketchware Pro.

Commit Message

When you make changes to one or more files, you need to commit those changes with a commit message. Here are some guidelines:

  • Keep the commit message short and detailed.
  • Use one of these commit types as a prefix:
    • feat: for a feature, possibly improving something already existing.
    • fix: for a fix, such as a bug fix.
    • style: for features and updates related to styling.
    • refactor: for refactoring a specific section of the codebase.
    • test: for everything related to testing.
    • docs: for everything related to documentation.
    • chore: for code maintenance (you can also use emojis to represent commit types).

Examples:

  • feat: Speed up compiling with new technique
  • fix: Fix crash during launch on certain phones
  • refactor: Reformat code in File.java

Thanks for Contributing

Thank you for contributing to Sketchware Pro! Your contributions help keep Sketchware Pro alive. Each accepted contribution will be noted down in the "About Modders" activity. We'll use your GitHub name and profile picture initially, but they can be changed, of course.

Discord

Want to chat with us, discuss changes, or just hang out? We have a Discord server just for that.

Join our Discord server!

Disclaimer

This mod was not created for any harmful purposes, such as harming Sketchware; quite the opposite, actually. It was made to keep Sketchware alive by the community for the community. Please use it at your own discretion and consider becoming a Patreon backer to support the developers. Unfortunately, other ways to support them are not working anymore, so Patreon is the only available option currently. You can find their Patreon page here.

We do NOT permit publishing Sketchware Pro as it is, or with modifications, on Play Store or on any other app store. Keep in mind that this project is still a mod. Unauthorized modding of apps is considered illegal and we discourage such behavior.

We love Sketchware very much and are grateful to Sketchware's developers for creating such an amazing app. However, we haven't received updates for a long time. That's why we decided to keep Sketchware alive by creating this mod, and it's completely free. We don't demand any money :)

sketchware-pro's People

Contributors

arjunakumarmohanta avatar bluecatsoftware avatar cyberxcoder-6649 avatar devkumar00001 avatar elfilibusterismo avatar fabiosmuu avatar freindlytech avatar hakankokcu avatar hasrat-ali avatar hosni-fraj avatar ilyassesalama avatar iyxan23 avatar javkhlank avatar keller-zirus avatar khaled-0 avatar lahds16 avatar lordofthesheps avatar maks-gaming avatar martlintz avatar mikeandrson avatar nerbly avatar nicesapien avatar pranavpurwar avatar raival-e avatar realnethical avatar sectiontn avatar senpai-03 avatar theclashfruit avatar toastcodedev avatar tyron12233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sketchware-pro's Issues

File block is not working for android 10 or more

when we use file block
sketchware is automatically added file Permisson requests
but it's only working for android android 9 or below
if we want to request storage permission for android 10
need to add manual
sorry my English is bad
whatever
I know you will understand πŸ˜‘πŸ˜‘

please add this Feacture in the future version of sketchware
πŸ™‚

Sketchware Compile problems

Hello,
I am currently using sketchware (6.4.0 beta-3 public) and when I'm compiling an app using sketchware I get this error log:

[/data/user/0/com.sketchware.remod/files/libs/libs/savedstate-1.0.0/res/values/values.xml:3: error: Found tag id where item is expected, , /data/user/0/com.sketchware.remod/files/libs/libs/lifecycle-viewmodel-2.0.0/res/values/values.xml:3: error: Found tag id where item is expected, , /data/user/0/com.sketchware.remod/files/libs/libs/lifecycle-runtime-2.0.0/res/values/values.xml:3: error: Found tag id where item is expected, ]

This can be fixed by changing build settings to AAPT2 and the app will compile with no issues, but after I install the app it won't open and it'll crash immediately.

When I add a webview to Sketchware beta 6, there is an error while building the app

When I add a webview to Sketchware beta 6, there is an error while building the app.

Error log

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 158)
    }
    });
    ^^^^
    Syntax error on tokens, delete these tokens

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 161)
    wb.setWebViewClient(new WebViewClient() {
    ^
    Syntax error, insert "}" to complete ClassBody

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 161)
    wb.setWebViewClient(new WebViewClient() {
    ^
    Syntax error, insert ")" to complete Expression

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 161)
    wb.setWebViewClient(new WebViewClient() {
    ^
    Syntax error, insert ";" to complete Statement

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 161)
    wb.setWebViewClient(new WebViewClient() {
    ^
    Syntax error, insert "}" to complete MethodBody

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 163)
    public void onPageStarted(WebView _param1, String _param2, Bitmap _param3) {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    The method onPageStarted(WebView, String, Bitmap) of type BrowserActivity must override or implement a supertype method

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 167)
    super.onPageStarted(_param1, _param2, _param3);
    ^^^^^^^^^^^^^
    The method onPageStarted(WebView, String, Bitmap) is undefined for the type AppCompatActivity

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 171)
    public void onPageFinished(WebView _param1, String _param2) {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    The method onPageFinished(WebView, String) of type BrowserActivity must override or implement a supertype method

  1. ERROR in /storage/emulated/0/.sketchware/mysc/601/app/src/main/java/com/debendronathmanik/gresults/BrowserActivity.java (at line 176)
    }
    });
    ^^^^^
    Syntax error on tokens, delete these tokens

9 problems (9 errors)
Screenshot_2021-10-10-02-07-14-987_com sketchware remod

is GETA Vise Sity codis hir????

ho l bor simon til mi yu hid geta vise sity codis hir, ef yes then %fak yu bor suc cok
pls bor if yu hav geta vise sity hac codis pls giv mi hir
big luv frim tonisia

many errors

when I click to run in android studio It show me many error????????????

Admob

When you use the new updated admob and export it as an AAB file it uses old admob Compiling blocks and doesn't show the adds. It shows as "Test Ad"

Build 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 https://help.gradle.org

BUILD FAILED in 31s

Admob error


  1. ERROR in /storage/emulated/0/.sketchware/mysc/699/app/src/main/java/com/my/newproject15/MainActivity.java (at line 85)
    adview1.loadAd(new AdRequest.Builder().addTestDevice("79A19AF25CE083C24DE7CBD569CD1E38")
    ^^^^^^^^^^^^^
    The method addTestDevice(String) is undefined for the type AdRequest.Builder

Admob Reward Ad Error

i used sketchware 6.4.1 Sketchware studio to create my project and it perfectly run without any error and showing ad. so i want to export to aab bundle then i run my project on Sketchware 6.4.0 beta 6 (this version) and got following errors. please help me

Screenshot_20211031-030224

Mediation

How to integrate admob and Facebook ad mediation...

Bug that does not allow deselecting the Library in Local Library

Error in Sketchware:

Screenshot_20210731-140829_Sketchware Pro

Error in debug.txt:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
at mod.agus.jcoderz.editor.manage.library.locallibrary.ManageLocalLibrary.getJarLocalLibrary(ManageLocalLibrary.java:198)
at a.a.a.Dp.d(Dp.java:513)
at a.a.a.Dp.f(Dp.java:736)
at com.besome.sketch.design.DesignActivity$a.b(SourceFile:26)
at a.a.a.MA.a(SourceFile:3)
at a.a.a.MA.doInBackground(SourceFile:1)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

Demo video:

mobizen_20210731_140347.mp4

Bug in sound importing-Sketchware 6.4.0 Beta 6 - Bug

Sketchware 6.4.0 Beta 6 - Bug
The sounds i've imported disappear when i leave the activity... I re uploaded the sounds.. But in vain.... Please fix bug... Sounds cannot be imported or uploaded in resource manager.

important

this library is work or not work??
because i tried to run it in android studio but id didn't worked because build.gradle it is not have all libraries

Compile error does not show full stacktrace.

Hello, I am trying to compile another's project, but I got the next error: No such file or directory. It doesn't say me anything about error and it is quite hard to report even here or fix somehow.

I think skpro should show full stacktrace (at least from where it comes).

GETA Vise Sity hak halp !!!

elo bor somwan til me dis cod hak GETA Vise Sity ?

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

bor pls tilmi if dis rili hak GETA Vise Sity πŸ™πŸ™πŸ˜”
πŸ˜ŽπŸ˜€πŸ‘πŸ‘

NullPointerException error when creating aab

Hi guys, I'm getting an error when I try to create an aab file. I initially thought the error was in my app, but from the message below it seems like an error in Sketchware Pro's ExportProjectActivity. You can have a look at the error message in the screenshot below:

Screenshot_20211016-014754_Sketchware Pro

can't compile classes

hello sir, please when i pasted the source, I can't compile !!!!!!!!! pls help πŸ™πŸ™πŸ™πŸ™πŸ˜€

material you when

i know the branch was deleted but all i want is material you, even it's trash but i want to do some experiment with it and doing it manually is pain

Firebase API Not Working

Firebase api & code is Deprecated & not working properly.
For realtime database : it doesn't work with the project is provided by firebase.
Hotfix(not recommend) : use the rtdb path in project is without any http

Default Authentication works but
Phone auth doesn't work,
it doesn't sends otp request as it says Can't verify application.
Wich usually occurs when u don't add correct Sha 1 signatures. (Which I did correctly)

Add translations

Hi. I'd like to make a translations for this mod of Sketchware.

Can't export Source Code to Android Studio - Bug

While trying to export my app to Android Studio project I got a message saying "An error ocurred!" and then some Java error. Down below I put my device info and video for proof. Hope this get fixed in the next re.

Device
Samsung J6
Android 10

Video

sketchware_001.mp4

Lagy

Sketchware studio 6.4.2 is to much lagy in Android 11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.