0x192 / universal-android-debloater

Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
15.27k stars 811 forks source link

issue with refresh_btn_display #36

Closed 0x192 closed 2 years ago

0x192 commented 2 years ago

In GitLab by @duelistjp on Sep 26, 2021, 18:39

cargo build
   Compiling servo-fontconfig-sys v5.1.0
   Compiling servo-fontconfig v0.5.1
   Compiling font-kit v0.10.1
   Compiling iced_graphics v0.2.0 (https://github.com/hecrj/iced.git#35c4ad6d)
   Compiling iced_wgpu v0.4.0 (https://github.com/hecrj/iced.git#35c4ad6d)
   Compiling iced_winit v0.3.0 (https://github.com/hecrj/iced.git#35c4ad6d)
   Compiling iced v0.3.0 (https://github.com/hecrj/iced.git#35c4ad6d)
   Compiling uad_gui v0.2.0 (/home/duelistjp/Downloads/universal-android-debloater-rs-main)
error[E0425]: cannot find value `refresh_btn_display` in this scope
   --> src/gui/mod.rs:152:72
    |
152 |   let apps_refresh_btn = Button::new(&mut self.apps_refresh_btn, refresh_btn_display)
    |                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `uad_gui` due to previous error
0x192 commented 2 years ago

In GitLab by @W1nst0n on Sep 26, 2021, 19:57

My bad! I need to document the build process. You need to choose the renderer:

cargo build --features wgpu --release

or for OpenGL backend

cargo build --features glow --release
0x192 commented 2 years ago

In GitLab by @W1nst0n on Sep 26, 2021, 19:58

changed the description

0x192 commented 2 years ago

In GitLab by @W1nst0n on Sep 26, 2021, 21:15

I've updated the build section of the wiki.

0x192 commented 2 years ago

In GitLab by @W1nst0n on Sep 26, 2021, 21:44

Well, finally I set wgpu as default so that you can just do a:

cargo build --release
0x192 commented 2 years ago

In GitLab by @duelistjp on Sep 27, 2021, 03:45

thanks man appreciate the help and the program. went through a bit of trouble with dependencies as well getting to the point i finally posted on here about. a list of necessary dependencies might be a good idea for the wiki when you have time