File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -807,8 +807,8 @@ impl AppBuilder {
807807
808808 // If the emulator is android, we need to copy the asset to the device with `adb push asset /data/local/tmp/dx/assets/filename.ext`
809809 if self . build . bundle == BundleFormat :: Android {
810- _ = self
811- . copy_file_to_android_tmp ( & changed_file , & bundled_name)
810+ let _ = self
811+ . copy_file_to_android_tmp ( & output_path , & bundled_name)
812812 . await ;
813813 }
814814 bundled_names. push ( bundled_name) ;
@@ -828,7 +828,7 @@ impl AppBuilder {
828828 bundled_name : & Path ,
829829 ) -> Result < PathBuf > {
830830 let target = dioxus_cli_config:: android_session_cache_dir ( ) . join ( bundled_name) ;
831- tracing:: debug!( "Pushing asset to device: {target:?}" ) ;
831+ tracing:: debug!( "Pushing asset {changed_file:?} to device: {target:?}" ) ;
832832
833833 let res = Command :: new ( & self . build . workspace . android_tools ( ) ?. adb )
834834 . arg ( "push" )
You can’t perform that action at this time.
0 commit comments