IP address confusion
-
So I have an older Samsung Galaxy A7 tablet, that I plan to give to my 7 year old granddaughter, since she spends a lot of her spare time playing Minecraft on it, which means I don't have the device for developing my Android apps. Grandfather's solution: Buy a Galaxy A8 for development purposes, since they are not terribly expensive. I just cannot deprive her of access to Minecraft. And it arrived early this morning. I anxiously set it up, including the Developer Mode settings so I can connect it via wifi to my desktop where I am running Android Studio. The idea is to transfer the app under development from the desktop to the tablet via wifi for testing / debugging purposes. I set up connection via wifi on the desktop successfully, or so I thought. Although the desktop confirmed a successful connection and Android Studio confirmed the app under development transferred correctly to the tablet. Nothing happened on the tablet. The app did not run! I must have struggled for almost an hour, trying every conceivable combination of Developer Mode settings on the tablet. Getting close to tears, it suddenly dawned on me: Idiot! you are using the old tablet's IP address! That tablet was on a table behind me with its screen covered and I never saw the app running on that device! Once I fixed the IP, everything worked like a charm!
Get me coffee and no one gets hurt!
-
So I have an older Samsung Galaxy A7 tablet, that I plan to give to my 7 year old granddaughter, since she spends a lot of her spare time playing Minecraft on it, which means I don't have the device for developing my Android apps. Grandfather's solution: Buy a Galaxy A8 for development purposes, since they are not terribly expensive. I just cannot deprive her of access to Minecraft. And it arrived early this morning. I anxiously set it up, including the Developer Mode settings so I can connect it via wifi to my desktop where I am running Android Studio. The idea is to transfer the app under development from the desktop to the tablet via wifi for testing / debugging purposes. I set up connection via wifi on the desktop successfully, or so I thought. Although the desktop confirmed a successful connection and Android Studio confirmed the app under development transferred correctly to the tablet. Nothing happened on the tablet. The app did not run! I must have struggled for almost an hour, trying every conceivable combination of Developer Mode settings on the tablet. Getting close to tears, it suddenly dawned on me: Idiot! you are using the old tablet's IP address! That tablet was on a table behind me with its screen covered and I never saw the app running on that device! Once I fixed the IP, everything worked like a charm!
Get me coffee and no one gets hurt!
If it's any consolation, a long time ago my PM called from on-site to report a problem, so I fixed it and he drove the 400 miles to collect the new EPROM, then drove back to site to install it only to find the problem was still there. I'd programmed it with the old version, not the new ... :doh: He wasn't very polite to me about it.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
If it's any consolation, a long time ago my PM called from on-site to report a problem, so I fixed it and he drove the 400 miles to collect the new EPROM, then drove back to site to install it only to find the problem was still there. I'd programmed it with the old version, not the new ... :doh: He wasn't very polite to me about it.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
So, no parties at the PM's office :-\